forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update testdata with new expected results
- Loading branch information
1 parent
8b40322
commit 6ba58ec
Showing
26 changed files
with
1,301 additions
and
798 deletions.
There are no files selected for viewing
24 changes: 14 additions & 10 deletions
24
connector/countconnector/testdata/logs/condition_and_attribute.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,65 @@ | ||
resourceMetrics: | ||
- resource: | ||
attributes: | ||
- key: resource.required | ||
value: | ||
stringValue: foo | ||
- key: resource.optional | ||
value: | ||
stringValue: bar | ||
- key: resource.required | ||
value: | ||
stringValue: foo | ||
scopeMetrics: | ||
- metrics: | ||
- description: Log count by attribute if ... | ||
name: log.count.if.by_attr | ||
sum: | ||
aggregationTemporality: 1 | ||
dataPoints: | ||
- asInt: "1" | ||
timeUnixNano: "1000000" | ||
- asInt: "2" | ||
attributes: | ||
- key: log.required | ||
value: | ||
stringValue: foo | ||
timeUnixNano: "1678390948399018000" | ||
timeUnixNano: "1000000" | ||
- asInt: "1" | ||
attributes: | ||
- key: log.required | ||
value: | ||
stringValue: notfoo | ||
timeUnixNano: "1678390948399018000" | ||
timeUnixNano: "1000000" | ||
isMonotonic: true | ||
scope: | ||
name: otelcol/countconnector | ||
- resource: | ||
attributes: | ||
- key: resource.required | ||
value: | ||
stringValue: foo | ||
- key: resource.optional | ||
value: | ||
stringValue: notbar | ||
- key: resource.required | ||
value: | ||
stringValue: foo | ||
scopeMetrics: | ||
- metrics: | ||
- description: Log count by attribute if ... | ||
name: log.count.if.by_attr | ||
sum: | ||
aggregationTemporality: 1 | ||
dataPoints: | ||
- asInt: "1" | ||
timeUnixNano: "1000000" | ||
- asInt: "2" | ||
attributes: | ||
- key: log.required | ||
value: | ||
stringValue: foo | ||
timeUnixNano: "1678390948399021000" | ||
timeUnixNano: "1000000" | ||
- asInt: "1" | ||
attributes: | ||
- key: log.required | ||
value: | ||
stringValue: notfoo | ||
timeUnixNano: "1678390948399021000" | ||
timeUnixNano: "1000000" | ||
isMonotonic: true | ||
scope: | ||
name: otelcol/countconnector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.