autometrics-dev / autometrics-py

Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.
https://autometrics.dev
Apache License 2.0
214 stars 7 forks source link

Add build_info metric and use it in generated queries #35

Closed brettimus closed 1 year ago

brettimus commented 1 year ago

Implements #25


Description for Reviewers

We should discuss how we want to pull in the commit and version info, especially in relation to the expected behavior in VSCode.

What Changed

TODO

brettimus commented 1 year ago

Update: OTEL support will be dependent on resolution of https://github.com/open-telemetry/opentelemetry-python/issues/3071 (I'm working on a PR)

brettimus commented 1 year ago

I think we can treat the OTEL support as non-blocking, since I'm not sure how long it will take for my PR on opentelemetry-python to get reviewed/merged/released

https://github.com/open-telemetry/opentelemetry-python/pull/3306