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

fix(postgres): report query duration as duration_ms #251

Merged
merged 4 commits into from
Jun 29, 2022

Conversation

pckilgore
Copy link
Contributor

Per company documentation for auto-recognition for traces: https://docs.honeycomb.io/getting-data-in/tracing/troubleshooting/#honeycomb-is-not-recognizing-my-traces

Which problem is this PR solving?

Short description of the changes

  • Reports duration under duration_ms vs. duration

@pckilgore pckilgore requested a review from a team June 20, 2022 21:17
@robbkidd robbkidd added the status: oncall Flagged for awareness from Honeycomb Telemetry Oncall label Jun 21, 2022
@robbkidd robbkidd self-assigned this Jun 21, 2022
Copy link
Member

@robbkidd robbkidd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because field names are an implied schema for the backend receiving telemetry, we can't rename fields lightly. This will break any queries, triggers, or SLOs for current users of honeytail who care about event duration.

Adding new, better names is great, though! Can you update this PR to keep the old duration field and still add the new duration_ms?

parsers/postgresql/postgresql.go Show resolved Hide resolved
@robbkidd robbkidd added the status: revision needed Waiting for response to changes requested. label Jun 21, 2022
@pckilgore pckilgore requested a review from robbkidd June 22, 2022 16:04
@vreynolds vreynolds removed the status: revision needed Waiting for response to changes requested. label Jun 27, 2022
Copy link
Member

@robbkidd robbkidd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenor-152337295

@MikeGoldsmith MikeGoldsmith merged commit d610a0d into honeycombio:main Jun 29, 2022
@MikeGoldsmith MikeGoldsmith added version: bump minor A PR that adds behavior, but is backwards-compatible. type: enhancement labels Jun 29, 2022
@robbkidd
Copy link
Member

Thank you for the fix, @pckilgore!

Our apologies for the hang-time on the re-review after your quick revisions. The maintainers were at an off-site last week and are still working through our backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: oncall Flagged for awareness from Honeycomb Telemetry Oncall type: enhancement version: bump minor A PR that adds behavior, but is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants