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
{
"timestamp": "2024-01-15T23:25:35.295622820Z",
"level": "ERROR",
"message": "Not connected to GraphOS. In order to enable these features for a self-hosted instance of Apollo Router, the Router must be connected to a graph in GraphOS (using APOLLO_KEY and APOLLO_GRAPH_REF) that provides a license for the following features:\n\nConfiguration yaml:\n* Advanced telemetry\n .telemetry..spans.router\n\nSee https://go.apollo.dev/o/elp for more information.",
"target": "apollo_router::state_machine",
"resource": {}
}
This seems to indicate that including the trace_id in logs requires a license. The documentation seems to indicate custom attributes requires a license:
Custom attributes for spans via selector is an Enterprise Feature that requires a GraphOS Enterprise plan.
Is this a bug, or Is trace_id considered a custom attribute, and there is no way to correlate logs with traces without a license?
The text was updated successfully, but these errors were encountered:
Hi, I also wanted to add custom header's x-requests-id: uuid4 value to logs but as you said it is a paid feature. I tried to use standard trace_id functionality but it does not accept uuid4 values.
Talking about this one:
if let Some(from_request_header) = &propagation.request.header_name {
propagators.push(Box::new(CustomTraceIdPropagator::new(
from_request_header.to_string(),
)));
}
Being able to just pass my custom header value as a json logs field would be just awesome!
Using router version 1.37.0 with the below configuration to include trace_id in logs for correlation with traces returns an error.
Error on start up is:
This seems to indicate that including the trace_id in logs requires a license. The documentation seems to indicate custom attributes requires a license:
Is this a bug, or Is trace_id considered a custom attribute, and there is no way to correlate logs with traces without a license?
The text was updated successfully, but these errors were encountered: