Skip to content

Custom instruments? #4461

Answered by cijothomas
agr asked this question in Q&A
May 4, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I tried to create my own Instrument implementation, but it seems whatever samples I produce with that are just dropped. Do I have to do some additional setup besides inheriting from Instrument and calling Publish() in constructor?

OpenTelemetry does not support any newly created instruments. It only supports the ones specified in OTel specification, and adding a new one has to go through OpenTelemetry specification process. (There were discussions around sync version of Gauge earlier, but no actual spec is made to support that yet)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@agr
Comment options

@cijothomas
Comment options

Answer selected by agr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants