Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]: Document all lightweight monitor configuration options #2372

Closed
3 tasks
colleenmcginnis opened this issue Nov 16, 2022 · 5 comments · Fixed by #2729
Closed
3 tasks

[REQUEST]: Document all lightweight monitor configuration options #2372

colleenmcginnis opened this issue Nov 16, 2022 · 5 comments · Fixed by #2729
Assignees
Labels
Area:Synthetics Synthetics Docs Issue Request:8.7 Team:Docs Label for the Observability docs team Team:Uptime Label for the Uptime team

Comments

@colleenmcginnis
Copy link
Contributor

Description

Note: I'm opening this targeting 8.7, but it could happen sooner.

We should document all lightweight monitor configuration options in Uptime and synthetic monitoring section.

From @andrewvc in #2353:

I think it's probably best to just make a wholesale copy of everything under "Monitors" from the beats docs here.

I was actually thinking we could eventually copy over the individual pages for HTTP TCP and ICMP.

If you're using a project based lightweight monitor it doesn't make sense to have to go to the heartbeat docs, ideally you don't even know what heartbeat is.

We should also add information on Common monitor options.

To do

  • Copy over content from Heartbeat
  • Edit to remove Beats-specific reference in favor of Projects
  • Decide what if anything to do with the original Heartbeat docs (do we want duplicate content? how can we best manage this situation?)

Resources

Collaboration

The documentation team will investigate the issue and create the initial content.

Point of contact.

Main contact: @colleenmcginnis

Stakeholders: @andrewvc @paulb-elastic

@colleenmcginnis
Copy link
Contributor Author

@andrewvc @paulb-elastic is there a good place for me to see a full list of supported config options for lightweight monitors in projects?

@andrewvc
Copy link
Contributor

andrewvc commented Dec 2, 2022

@colleenmcginnis , unfortunately not at the moment. I propose we copy all the configuration options over wholesale then have an engineer, perhaps @dominiqueclarke or @awahab07 review it for accuracy.

@paulb-elastic
Copy link
Contributor

@andrewvc do we get params implemented automatically based on how Project Monitors work, except in certain circumstances (as opposed to the other way round, where we get none unless we add them in)?

e.g. we had someone try to use check.response.body recently but it does not work (because it's an alias).

I created https://github.com/elastic/synthetics-dev/issues/159 as a meta for some specifics and elastic/synthetics#655 to track everything else needed for Lightweight Project Monitors.

@colleenmcginnis
Copy link
Contributor Author

colleenmcginnis commented Feb 28, 2023

I propose we copy all the configuration options over wholesale then have an engineer, perhaps @dominiqueclarke or @awahab07 review it for accuracy.

Can someone take a look at the tables of options below? Which are supported in projects? Are there any options that are missing? Are the types, default values, and required status correct for each option?

Feel free to edit the tables directly!

Common options

Supported? Option Type Default Required
type "http"|"icmp"|"tcp" Required
id String Required
name String
service.name String
enabled Boolean true
schedule Duration Required
X ipv4 Boolean true
X ipv6 Boolean true
X mode "any"|"all" any
timeout Duration 16s
X run_from id String
X geo ECS geo fields
X fields ?
X fields_under_root Boolean
tags List of strings
X processors List of strings
X data_stream String heartbeat-VERSION
X pipeline String
X keep_null Boolean false

ICMP only options

Supported? Option Type Default Required
hosts List of strings Required
wait Duration 1s

HTTP only options

Supported? Option Type Default Required
hosts List of strings Required
max_redirects Number 0
proxy_url String
X proxy_headers ?
username String
password String
ssl SSL
headers Boolean true
response include_body "on_error"|"never"|"always"
X include_body_max_bytes Number 1024
check request method "HEAD"|"GET"|"POST"|"OPTIONS"
headers ?
body String
response status List of strings
headers List of strings
X (response.body is not supported by response.body.positive and response.body.negative are) body Regex | List of regex
positive List of regex
negative List of regex
X json List of ?
X description String
X expression gval expression
X condition jsonpath condition

TCP only options

Supported? Option Type Default Required
hosts List of strings Required
ports List of strings
check send String
receive String
proxy_url String
proxy_use_local_resolver Boolean false
ssl SSL

@paulb-elastic
Copy link
Contributor

cc @vigneshshanmugam too as these relate to project monitors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Synthetics Synthetics Docs Issue Request:8.7 Team:Docs Label for the Observability docs team Team:Uptime Label for the Uptime team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants