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

Add step duration as an indexed field #302

Closed
andrewvc opened this issue Jun 7, 2021 · 1 comment · Fixed by #304
Closed

Add step duration as an indexed field #302

andrewvc opened this issue Jun 7, 2021 · 1 comment · Fixed by #304
Labels
enhancement New feature or request

Comments

@andrewvc
Copy link
Contributor

andrewvc commented Jun 7, 2021

We currently index the step duration of the field on the payload object. Users cannot search this data or make custom kibana visualizations with it. It would be useful to make step timing charts not only in uptime, but also in kibana dashboards.

This issue proposes we create a new field synthetics.step.duration.us which measures the step execution time in milliseconds. We can use the root_fields JSON to add this field.

I had discussed with @vigneshshanmugam the possibility of making a new field for journey durations as well, however the existing monitor.duration.us field covers this. I'd rather not introduce a second field with the same information in milliseconds at this point since that may be confusing.

@andrewvc andrewvc added the enhancement New feature or request label Jun 7, 2021
@vigneshshanmugam
Copy link
Member

@andrewvc To make use of the monitor.duration.us, Do you think we can send the timestamp field denoting the proper journey end time as opposed to when the JSON output journey/end is written which might get fluctuated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants