Skip to content

Commit

Permalink
Add missing testcases directory
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed Dec 19, 2024
1 parent 93b0cce commit 7680e19
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/inputs/firehose/testcases/common-attributes/body.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"requestId": "telegraf-test-id",
"timestamp":1734625715000000000,
"records":[{"data":"dGVzdCB2YWx1ZT00MmkgMTczNDYyNTcxNTAwMDAwMDAwMAo="}]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test,device=pc,deployment=prod,path=/telegraf value=42i 1734625715000000000
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"x-amz-firehose-request-id": "telegraf-test-id",
"x-amz-firehose-access-key": "secret",
"x-amz-firehose-common-attributes": "{\"commonAttributes\": {\"deployment\": \"prod\", \"device\": \"pc\"}}"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[inputs.firehose]]
service_address = "dummy"
access_key = "secret"
parameter_tags = ["deployment", "device"]

0 comments on commit 7680e19

Please sign in to comment.