-
Notifications
You must be signed in to change notification settings - Fork 626
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
Cannot run opentelemetry-instrument with prometheus as metric exporter #2864
Comments
I think it was discussed to name it |
What's flag to use for running it correctly |
There is none for the auto instrumentation right now. |
Discussion during 11th Aug call. We are probably going to change the way we load the (metric) exporters for auto instrumentation which works regardless of the implementation type (push exporter/ pull metric reader) of exporter. The original proposal #2843 (comment) |
I ran across the same issue when evaluating the possibility of instrumenting Dask with OTel. Is there any update on the proposal from #2843? I'd be happy to help with the implementation! |
@hendrikmakait what proposal are you referring to? |
@srikanthccv: I'm referring to your comment above:
|
Contributions are always welcome. I think @aabmass comment #2843 (comment) is good way to approach this problem and it will support both push and pull exporter types. I would like to get the consensus on this from @open-telemetry/python-approvers before any work is actually started or if someone has any alternative methods? |
+1 to @aabmass 's approach. |
@hendrikmakait Please let us know if you would like to work on the implementation, and I will assign this to you. Feel free to ask any questions. |
I split the entrypoint work into a separate issue #3411 and I will work on it. |
This one will be fixed by #3413 |
Describe your environment
Python 3.9.13
opentelemetry-api 1.12.0rc2
opentelemetry-distro 0.32b0
opentelemetry-exporter-prometheus 1.12.0rc1
opentelemetry-instrumentation 0.32b0
opentelemetry-instrumentation-flask 0.32b0
opentelemetry-instrumentation-logging 0.32b0
opentelemetry-sdk 1.12.0rc2
Steps to reproduce
opentelemetry-instrument --traces_exporter console --metrics_exporter prometheus python3 ./main.py
What is the expected behavior?
What did you expect to see?
What is the actual behavior?
What did you see instead?
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: