You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defaulted container "flask-change" out of: flask-change, opentelemetry-auto-instrumentation-python (init)
Configuration of configurator failed
Traceback (most recent call last):
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 102, in _import_config_components
next(
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation/_load.py", line 113, in _load_configurators
entry_point.load()().configure(auto_instrumentation_version=__version__) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 439, in configure
self._configure(**kwargs)
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 455, in _configure
_initialize_components(**kwargs)
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 373, in _initialize_components
span_exporters, metric_exporters, log_exporters = _import_exporters(
^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 282, in _import_exporters
) in _import_config_components(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 119, in _import_config_components
raise RuntimeError(
RuntimeError: Requested component 'prometheus' not found in entry point 'opentelemetry_metrics_exporter'
Failed to auto initialize opentelemetry
Traceback (most recent call last):
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 102, in _import_config_components
next(
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation/sitecustomize.py", line 38, in initialize
_load_configurators()
File "/otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation/_load.py", line 124, in _load_configurators
raise exc
File "/otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation/_load.py", line 113, in _load_configurators
entry_point.load()().configure(auto_instrumentation_version=__version__) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 439, in configure
self._configure(**kwargs)
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 455, in _configure
_initialize_components(**kwargs)
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 373, in _initialize_components
span_exporters, metric_exporters, log_exporters = _import_exporters(
^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 282, in _import_exporters
) in _import_config_components(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/otel-auto-instrumentation-python/opentelemetry/sdk/_configuration/__init__.py", line 119, in _import_config_components
raise RuntimeError(
RuntimeError: Requested component 'prometheus' not found in entry point 'opentelemetry_metrics_exporter'* Serving Flask app 'main'* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://10.244.0.28:5000
Additional context
I investigate there lack opentelemetry-exporter-prometheus==0.46b0. I can make a pr to fix this.
The text was updated successfully, but these errors were encountered:
Component(s)
auto-instrumentation
What happened?
Description
autoinstrumentation-python can't use prometheus exporter
Steps to Reproduce
this is my auto auto-instrumentation.yaml
![image](https://private-user-images.githubusercontent.com/5334156/348204321-8abba175-04ad-46ea-afc8-23d69d69e41b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyOTgyMTIsIm5iZiI6MTcyNDI5NzkxMiwicGF0aCI6Ii81MzM0MTU2LzM0ODIwNDMyMS04YWJiYTE3NS0wNGFkLTQ2ZWEtYWZjOC0yM2Q2OWQ2OWU0MWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjJUMDMzODMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjA5YmMyMzAyMDNhN2QyNDJkMWE5ZDM3MDliNmY2ZjRhNGMxMGM3MTYzYjAyNTg2YzBlNDRiNWUxODcxNzM1MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.P61oBp_88iXMyF6-oP1lU7TwPUaG2k5AMchk9cPECBk)
Expected Result
autoinstrumentation-python can use prometheus exporter
Actual Result
autoinstrumentation-python can't use prometheus exporter
Kubernetes Version
1.30
Operator version
0.103.0
Collector version
ignore
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
Log output
Additional context
I investigate there lack
![image](https://private-user-images.githubusercontent.com/5334156/348204955-6af08d20-d960-4c63-b275-d9d1e1a0c81b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyOTgyMTIsIm5iZiI6MTcyNDI5NzkxMiwicGF0aCI6Ii81MzM0MTU2LzM0ODIwNDk1NS02YWYwOGQyMC1kOTYwLTRjNjMtYjI3NS1kOWQxZTFhMGM4MWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjJUMDMzODMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjQyZjAyYTdjN2JiNTM0MDQwYzZhNzc2NGExYTM0MTQxZDQ5M2JhNTQ1NzkxNzIwMWY3MzJjY2JkZTU3ZTdmYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.5PWZMxShrFVLv54gGhtl2dEZarlavj_8g43WecWberc)
opentelemetry-exporter-prometheus==0.46b0
. I can make a pr to fix this.The text was updated successfully, but these errors were encountered: