-
Notifications
You must be signed in to change notification settings - Fork 110
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
Opentelemetry error during ert run #9949
Comments
ApplicationInsights won't accept data with time stamp older than 48h. This message seems to have been triggered after dark storage was shut down after running for several days, in which case information about the dark storage span is rejected by ApplicationInsights since it's time stamp is too old. |
I get a similar error message each time I run drogon
|
The 48h old data limit seems to be hardcoded in ApplicationInsights: "...Application Insights may drop telemetry that [...] is too old (over 48 hours) or too new (newer than 2+ hours), or fails other validation issues." Spans are always sent after they have ended. The AzureMonitorTraceExporter converts the spans to envelopes (TelemetryItem), and sets the time field of the envelope equal to the start time of the span. The time field of the envelope is used as the start time of dependencies/spans in azure and grafana. In other words a span with a duration longer than 48h will be considered as too old when sent to azure and therefore dropped/rejected even though the span just recently ended. Options:
|
This issue is resolved when this warning cannot any longer appear in the terminal (it is fine to have in the logs on disk). |
While running
drogon_design.ert
on the current testing release I've got the following error:The text was updated successfully, but these errors were encountered: