Skip to content

feat(datadog_logs): Emit warn logs for misconfigured reserved attributes#24691

Closed
20agbekodo wants to merge 1 commit intovectordotdev:masterfrom
20agbekodo:josue.agbekodo/OPA-4550-opw-update-ddlogs-destination-to-emit-warn-logs-for-missing-datadog-attribute-fields
Closed

feat(datadog_logs): Emit warn logs for misconfigured reserved attributes#24691
20agbekodo wants to merge 1 commit intovectordotdev:masterfrom
20agbekodo:josue.agbekodo/OPA-4550-opw-update-ddlogs-destination-to-emit-warn-logs-for-missing-datadog-attribute-fields

Conversation

@20agbekodo
Copy link
Contributor

Summary

Modify the datadog_logs destination configuration to emit WARN logs when there are missing reserved Datadog attribute fields. This change is necessary to improve logging and alert on potential issues with malformed logs.

Vector configuration

How did you test this PR?

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • [ X ] No

Does this PR include user facing changes?

  • [ X ] Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details here.

@github-actions github-actions bot added the domain: sinks Anything related to the Vector's sinks label Feb 19, 2026
@20agbekodo 20agbekodo force-pushed the josue.agbekodo/OPA-4550-opw-update-ddlogs-destination-to-emit-warn-logs-for-missing-datadog-attribute-fields branch from 85296f0 to 2215654 Compare February 19, 2026 09:45
@20agbekodo 20agbekodo closed this Mar 3, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: sinks Anything related to the Vector's sinks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant