Understanding datadog_agent source internal metrics and logs #23897
Unanswered
techministrator
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi vector team and everyone,
May I check and learn more about the internal metrics and logs related to
datadog_agentsource (ref).A small context is that I've just recently rolled out the Vector to receive and handle a large amount of metrics traffic from the internal datadog agents (configuring using the observability_pipelines_worker option).
I've also configured quite an extensive dashboards to monitor vector and noticed periodic metric data of
component_discarded_events_totalwithintentionaltag/label asfalse(ref). Usually accompanying by:Events droppedatdatadog_agentsourceHTTP errorandRetrying after error(with some suppressions) atdatadog_metricssinkSo I'm trying to understand what was the real reason of the
Events droppedissue in this case. In documentation, it just mentions there's due to errors but is it errors from Vector Sink or is it from the Source Datadog Agents in this case? Metrics Events dropped means all the data is permanently lost because I don't enableacknowledgementfeature? Any recommendations to mitigate or avoid this issue?I put some of the most important configurations below to avoid too much configs. Generally, I don't see any errors or discarded events at the
transformsstage thus I remove it from this context to avoid noise.Thank you for spending the time, I know this is a lot of context.
Vector Config
There are many context for the below configs though I'm open for recommendations:
400,000events configVector Logs
{ "id": <obscured> "content": { "timestamp": "2025-10-01T10:52:09.060Z", "tags": [ "source:undefined", "datadog.submission_auth:api_key", "datadog.api_key_uuid:504665cb-9c53-496d-b3c6-552e2eb73468" ], "host": "<obscured>", "service": "<obscured>", "message": "Events dropped", "attributes": { "reason": "Source send cancelled.", "metadata": { "kind": "event", "module_path": "vector_common::internal_event::component_events_dropped", "target": "vector_common::internal_event::component_events_dropped" }, "intentional": false, "count": 3044, "internal_log_rate_limit": true, "pid": 998, "source_type": "internal_logs", "env": "staging", "hostname": "<obscured>", "appname": "<obscured>", "service": "<obscured>", "vector": { "component_type": "datadog_agent", "component_id": "datadog_agents", "component_kind": "source" }, "status": "ERROR", "timestamp": 1759315929060 } } }Beta Was this translation helpful? Give feedback.
All reactions