Skip to content

Should we use OpenTelemetry or OpenMetrics semantic conventions? #37

Closed Answered by emschwartz
emschwartz asked this question in Q&A
Discussion options

You must be logged in to vote

Luckily for us, OpenTelemetry changed some of their recommendations in such a way that it's easier for us to conform to both OpenTelemetry and OpenMetrics/Prometheus naming conventions! 🎉

Here are the conclusions:

  • Our counter is called function.calls and is exported to Prometheus as function_call_total
  • Our histogram is called function.calls.duration and is exported to Prometheus as function_calls_duration_seconds
  • Our histogram uses seconds as the units

We're going to support the old values for some time in the shared resources like dashboards and alerting rules by using regexes to match the names, but eventually we'll remove the regexes and just use these names.

The Autometrics spec was…

Replies: 9 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@emschwartz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@emschwartz
Comment options

@gouthamve
Comment options

@emschwartz
Comment options

@emschwartz
Comment options

@emschwartz
Comment options

Comment options

You must be logged in to vote
5 replies
@emschwartz
Comment options

@gagbo
Comment options

@gouthamve
Comment options

@gagbo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by emschwartz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested standardization
5 participants