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.
[mdatagen] Extract test data yaml to files (open-telemetry#6470)
- Loading branch information
1 parent
d436189
commit 06e4890
Showing
5 changed files
with
55 additions
and
64 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: metricreceiver | ||
attributes: | ||
freeFormAttribute: | ||
description: Attribute that can take on any value. | ||
|
||
freeFormAttributeWithValue: | ||
value: state | ||
description: Attribute that has alternate value set. | ||
|
||
enumAttribute: | ||
description: Attribute with a known set of values. | ||
enum: [red, green, blue] | ||
|
||
metrics: | ||
system.cpu.time: | ||
description: Total CPU seconds broken down by different states. | ||
extended_documentation: Additional information on CPU Time can be found [here](https://en.wikipedia.org/wiki/CPU_time). | ||
unit: s | ||
sum: | ||
monotonic: true | ||
aggregation: cumulative | ||
attributes: [freeFormAttribute, freeFormAttributeWithValue, enumAttribute] |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: metricreceiver | ||
metrics: | ||
system.cpu.time: | ||
description: Total CPU seconds broken down by different states. | ||
unit: s | ||
attributes: |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: metricreceiver | ||
metrics: | ||
system.cpu.time: | ||
description: Total CPU seconds broken down by different states. | ||
unit: s | ||
gauge: {} | ||
sum: | ||
monotonic: true | ||
aggregation: cumulative | ||
attributes: |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: metricreceiver | ||
metrics: | ||
system.cpu.time: | ||
description: Total CPU seconds broken down by different states. | ||
unit: s | ||
sum: | ||
monotonic: true | ||
aggregation: cumulative | ||
attributes: [missing] |