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

otel metrics support #44

Open
tobert opened this issue Aug 18, 2021 · 2 comments
Open

otel metrics support #44

tobert opened this issue Aug 18, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed major major semver question Further information is requested

Comments

@tobert
Copy link
Member

tobert commented Aug 18, 2021

One of these days we should take a swing at adding otel metrics to otel-cli. I don't know if it'll work out but it feels worth exploring.

e.g. (having not dug into metrics at all)

otel-cli counter foo.bar 1
otel-cli histo ???????

Should there be another layer of subcommands? e.g. otel-cli trace span -n "my span"? It feels heavy to me and I'm curious what others think.

@tobert tobert added enhancement New feature or request help wanted Extra attention is needed major major semver question Further information is requested labels Aug 18, 2021
@ahayworth
Copy link
Contributor

Welllll we should probably wait until support for metrics gets a little better - I think the spec is just now about to be finalized (and support is pretty non-existent across the ecosystem).

But - I think yes that would be intriguing to explore, and could interesting!

Should there be another layer of subcommands? e.g. otel-cli trace span -n "my span"? It feels heavy to me and I'm curious what others think.

I agree, that feels heavy. That's not to say that we can't explore different schemes for the commands, but I do tend to dislike structures that are more than one level deep.

@derekmurawsky
Copy link

Has there been any update on the metrics spec front? This would be a great feature to have.
Currently, we use curl to send metrics out of our build pipeline to InfluxDB via their simple line protocol. We're looking at adding OpenTelemetry to the CI/CD system as a whole, and having the ability to push metrics out via a CLI would greatly simplify migration. Bonus points for tagging the metrics to the related span that they occurred in.

@ishworg ishworg mentioned this issue Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed major major semver question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants