llamatry
llamatry copied to clipboard
OpenAICompletionInstrumentor Error from this Framework
(LLAMA_ENV) akram@ISHERIFF-M-RBNA lightstep % pip list | grep llamatry
llamatry 0.1.9
(LLAMA_ENV) akram@ISHERIFF-M-RBNA lightstep %
(LLAMA_ENV) akram@ISHERIFF-M-RBNA lightstep % opentelemetry-instrument python server.py
ERROR:opentelemetry.launcher.configuration:Invalid configuration: service name missing. Set environment variable OTEL_SERVICE_NAME
ERROR:opentelemetry.launcher.configuration:application instrumented via opentelemetry-instrument. all required configuration must be set via environment variables
Traceback (most recent call last):
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/opentelemetry/launcher/configuration.py", line 515, in _configure
configure_opentelemetry(_auto_instrumented=True)
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/opentelemetry/launcher/configuration.py", line 289, in configure_opentelemetry
raise InvalidConfigurationError(message)
opentelemetry.launcher.configuration.InvalidConfigurationError: Invalid configuration: service name missing. Set environment variable OTEL_SERVICE_NAME
Traceback (most recent call last):
File "/Users/akram/AKRAM_CODE_FOLDER/LLAMA_LLM_CPP/LLMetry_LLMOPS/llamatry/examples/lightstep/server.py", line 8, in