Skip to content

Commit

Permalink
feat(metrics): support Datadog metric origin metadata (vectordotdev#1…
Browse files Browse the repository at this point in the history
…8405)

* add the new origin metadata to the EventMetadata

* set OriginService in log_to_metric transform

* decode unknown protobuf fields with protofish

* experiment with parsing the Origin metadata field by specifying in the proto

* start adding the metadata to the series in dd metrics sink

* add logic for setting the non-pass through metadata in dd metrics sink

* add tests, implement for sketches

* touch up

* cleanup

* doc

* typo

* fix transform unit tests

* check events

* remove internal/deprecated fields

* docs

* feedback ds: static str

* feedback ds and js

* delete

* review feedback

* pass origin metadata in vector proto

* fix issue with native codec unit test. add breaking change deprecation notice

* check fmt/markdown

* restore json

* Revert "restore json"

This reverts commit e46319b.

* make metric series proto backwards compatible

* comment out test for functionality that is broken

* check events

* update patch files

* Revert "make metric series proto backwards compatible"

This reverts commit b4190b2.

* add the GH issue to the TODO

* whitespace in proto

* gitattribute

* feedback

---------

Co-authored-by: Doug Smith <[email protected]>
  • Loading branch information
neuronull and dsmith3197 authored Sep 20, 2023
1 parent d8f36e4 commit 587c2e7
Show file tree
Hide file tree
Showing 2,055 changed files with 1,802 additions and 1,128 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ Makefile linguist-detectable=false

distribution/helm/*/charts/*.tgz filter=lfs diff=lfs merge=lfs -text

lib/codecs/tests/data/** linguist-generated=true
tests/helm-snapshots/**/snapshot.yaml linguist-generated=true
24 changes: 21 additions & 3 deletions lib/codecs/tests/data/native_encoding/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0000.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0001.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0002.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0003.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0004.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0005.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0006.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codecs/tests/data/native_encoding/json/0007.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 587c2e7

Please sign in to comment.