Skip to content

AWS Lambda function logs are cluttered with OpenTelemetry errors #3293

Answered by srikanthccv
imanshafiei540 asked this question in Q&A
Discussion options

You must be logged in to vote

[ERROR] 2023-05-01T23:56:04.959Z 42a36f0d-6bde-428d-833a-fc34f295a4a9 Invalid type <class 'NoneType'> of value None
Traceback (most recent call last):
File "/opt/python/opentelemetry/exporter/otlp/proto/http/metric_exporter/init.py", line 345, in _translate_attributes
output.append(_translate_key_values(key, value))
File "/opt/python/opentelemetry/exporter/otlp/proto/http/metric_exporter/init.py", line 429, in _translate_key_values
return KeyValue(key=key, value=_translate_value(value))
File "/opt/python/opentelemetry/exporter/otlp/proto/http/metric_exporter/init.py", line 423, in _translate_value
raise Exception(f"Invalid type {type(value)} of value {value}")
Exception: Invalid type <cl…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@imanshafiei540
Comment options

@srikanthccv
Comment options

@imanshafiei540
Comment options

Answer selected by imanshafiei540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants