Skip to content
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

Failed to parse metric datadog.tracer.flush_duration #488

Open
vesquen opened this issue Nov 29, 2024 · 5 comments
Open

Failed to parse metric datadog.tracer.flush_duration #488

vesquen opened this issue Nov 29, 2024 · 5 comments
Assignees
Labels
bug Something isn't working version/next Issues related to DD_EXTENSION_VERSION: next

Comments

@vesquen
Copy link

vesquen commented Nov 29, 2024

Hi Team

I wanted to report an error that's being logged very frequently. We're using the latest version v67 (Next-generation Lambda Extension).

DD_EXTENSION | ERROR | Failed to parse metric datadog.tracer.flush_duration:0.785551|ms|#lang:go,lang_version:go1.23.2,env:<redacted>,_dd.origin:lambda,runtime-id:<redacted>,tracer_version:v1.70.1,service:<redacted>,env:<redacted>,service:<redacted>,version:<redacted>: parse failure: Invalid metric format

Version of dd-lambda-go: v1.20.0.

Is there anything we can do here in the short term? No error when using DD_EXTENSION_VERSION: compatibility.

Thank you, kind regards

@vesquen
Copy link
Author

vesquen commented Dec 2, 2024

Hi again.

I wanted to check if there is a way to disable the extension logs for now or any other workaround. DD_LOG_LEVEL: OFF doesn't seem to work and the log volume generated by this is huge.

@alexgallotta
Copy link
Contributor

Thanks fore reporting it!
It seems to be indeed just a log issue. The fix DataDog/libdatadog#777 is ready and it will be release as soon as possible

@velikoff
Copy link

velikoff commented Dec 5, 2024

Hi Team,
I just wanted to clarify if the release will fully fix the parsing issue or if it will only stop logging the error?

We’re currently experiencing a similar issue in our AWS Lambda function (using .NET) with Histogram metrics. Here’s an example of the error we’re seeing:
DD_EXTENSION | ERROR | Failed to parse metric lambda.process_time:359|h|#application:Lambda: parse failure: Invalid metric format

@duncanista duncanista added version/next Issues related to DD_EXTENSION_VERSION: next bug Something isn't working and removed version/next Issues related to DD_EXTENSION_VERSION: next labels Dec 11, 2024
@AshveenBansal98
Copy link

Hi,
Any ETA on this? We are also facing this issue

Failed to parse metric datadog.tracer.flush_duration:5.983098|ms|#lang:go,lang_version:go1.23.4,env:dev,_dd.origin:lambda,runtime-id:209549e7-2e19-47f9-8039-a03ad82e5038,tracer_version:v1.68.0,service:events-lambda,env:dev,service:events-lambda: parse failure: Invalid metric format

@duncanista
Copy link
Contributor

Hey, this warnings should have been muted on @alexgallotta's PR in the latest v68.

@alexgallotta will update further on @velikoff question soon, he currently is OOO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version/next Issues related to DD_EXTENSION_VERSION: next
Projects
None yet
Development

No branches or pull requests

5 participants