Skip to content

Commit

Permalink
Metada update 2023-12-01
Browse files Browse the repository at this point in the history
  • Loading branch information
theletterf committed Dec 1, 2023
1 parent bd0666b commit 68aa693
Show file tree
Hide file tree
Showing 17 changed files with 147 additions and 30 deletions.
16 changes: 13 additions & 3 deletions metric-metadata/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
status:
codeowners:
active: [rmfitzpatrick, jamesmoessis]
type: resourcedetectionprocessor/docker

parent: resourcedetection

resource_attributes:
host.name:
description: The host.name
type: string
enabled: true
os.type:
description: The os.type
type: string
enabled: true
25 changes: 25 additions & 0 deletions metric-metadata/dockerstatsreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,21 @@ metrics:
unit: "1"
gauge:
value_type: double
container.cpu.limit:
enabled: false
description: "CPU limit set for the container."
extended_documentation: "This metric is only reported if the container has limits set with -cpus, -cpuset-cpus or -cpu-quota."
unit: "{cpus}"
gauge:
value_type: double
container.cpu.shares:
enabled: false
description: "CPU shares set for the container."
unit: "1"
gauge:
value_type: int


# Memory
container.memory.usage.limit:
enabled: true
Expand Down Expand Up @@ -669,3 +684,13 @@ metrics:
unit: s
gauge:
value_type: double

# Container
container.restarts:
enabled: false
description: "Number of restarts for the container."
unit: "{restarts}"
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
6 changes: 5 additions & 1 deletion metric-metadata/eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ resource_attributes:
cloud.platform:
description: The cloud.platform
type: string
enabled: true
enabled: true
k8s.cluster.name:
description: The EKS cluster name. This attribute is currently only available when running on EC2 instances, and requires permission to run the EC2:DescribeInstances action.
type: string
enabled: false
9 changes: 9 additions & 0 deletions metric-metadata/failoverconnector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: failover

status:
class: connector
stability:
development: [metrics_to_metrics, traces_to_traces, logs_to_logs]
distributions: [contrib]
codeowners:
active: [djaglowski, fatsheep9146]
41 changes: 41 additions & 0 deletions metric-metadata/gitproviderreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,44 @@ status:
distributions: [liatrio]
codeowners:
active: [adrielp, astencel-sumo]

# this might need to be unique per sub receiver implementation
resource_attributes:
organization.name:
enabled: true
description: Git Organization or Project Name
type: string
git.vendor.name:
enabled: true
# github, gitlab, bitbucket, gittea
description: The name of the Git vendor/provider (ie. GitHub / GitLab)
type: string

## Attritbutes that will be uncommented when the rest of the metrics are added
attributes:
repository.name:
description: The full name of the Git repository
type: string

metrics:
git.repository.count:
enabled: true
description: Number of repositories in an organization
unit: 1
gauge:
value_type: int
attributes: []
git.repository.branch.count:
enabled: true
description: Number of branches in the repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
git.repository.contributor.count:
enabled: false
description: Total number of unique contributors to this repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
4 changes: 2 additions & 2 deletions metric-metadata/honeycombmarkerexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: honeycombmarker
status:
class: exporter
stability:
development: [logs]
distributions: []
alpha: [logs]
distributions: [contrib]
codeowners:
active: [TylerHelmuth, fchikwekwe]
1 change: 1 addition & 0 deletions metric-metadata/loadbalancingexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ status:
- observiq
- sumo
- aws
- splunk
codeowners:
active: [jpkrohling]
9 changes: 9 additions & 0 deletions metric-metadata/memoryscraper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ metrics:
gauge:
value_type: double
attributes: [state]

system.linux.memory.available:
enabled: false
description: An estimate of how much memory is available for starting new applications, without swapping. This is a more accurate alternative than system.memory.usage with state=free. (Linux only)
unit: By
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
33 changes: 15 additions & 18 deletions metric-metadata/mongodbreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ resource_attributes:
type: string

attributes:
database:
description: The name of a database.
type: string
collection:
description: The name of a collection.
type: string
Expand Down Expand Up @@ -99,7 +96,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.data.size:
description: The size of the collection. Data compression does not affect this value.
unit: By
Expand All @@ -108,7 +105,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.connection.count:
description: The number of connections.
unit: "{connections}"
Expand All @@ -117,7 +114,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [database, connection_type]
attributes: [connection_type]
mongodb.extent.count:
description: The number of extents.
unit: "{extents}"
Expand All @@ -126,7 +123,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.global_lock.time:
description: The time the global lock has been held.
unit: ms
Expand All @@ -144,7 +141,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.index.size:
description: Sum of the space allocated to all indexes in the database, including free index space.
unit: By
Expand All @@ -153,7 +150,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.memory.usage:
description: The amount of memory used.
unit: By
Expand All @@ -162,7 +159,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database, memory_type]
attributes: [memory_type]
mongodb.object.count:
description: The number of objects.
unit: "{objects}"
Expand All @@ -171,7 +168,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: false
attributes: [database]
attributes: []
mongodb.operation.latency.time:
description: The latency of operations.
unit: us
Expand Down Expand Up @@ -206,7 +203,7 @@ metrics:
aggregation_temporality: cumulative
value_type: int
monotonic: true
attributes: [database]
attributes: []
mongodb.database.count:
description: The number of existing databases.
unit: "{databases}"
Expand All @@ -224,7 +221,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [database, collection]
attributes: [collection]
mongodb.document.operation.count:
description: The number of document operations executed.
unit: "{documents}"
Expand All @@ -233,7 +230,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: false
attributes: [database, operation]
attributes: [operation]
mongodb.network.io.receive:
description: The number of bytes received.
unit: By
Expand Down Expand Up @@ -305,7 +302,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [database, lock_type, lock_mode]
attributes: [lock_type, lock_mode]
mongodb.lock.acquire.wait_count:
description: Number of times the lock acquisitions encountered waits because the locks were held in a conflicting mode.
unit: "{count}"
Expand All @@ -314,7 +311,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [database, lock_type, lock_mode]
attributes: [lock_type, lock_mode]
mongodb.lock.acquire.time:
description: Cumulative wait time for the lock acquisitions.
unit: "microseconds"
Expand All @@ -323,7 +320,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [database, lock_type, lock_mode]
attributes: [lock_type, lock_mode]
mongodb.lock.deadlock.count:
description: Number of times the lock acquisitions encountered deadlocks.
unit: "{count}"
Expand All @@ -332,7 +329,7 @@ metrics:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [database, lock_type, lock_mode]
attributes: [lock_type, lock_mode]
mongodb.health:
enabled: false
description: The health status of the server.
Expand Down
3 changes: 2 additions & 1 deletion metric-metadata/opensearchexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type: opensearch
status:
class: exporter
stability:
development: [logs, traces]
alpha: [traces]
development: [logs]
codeowners:
active: [Aneurysm9, MitchellGale, MaxKsyunz, YANG-DB]
2 changes: 1 addition & 1 deletion metric-metadata/pulsarexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status:
class: exporter
stability:
alpha: [traces, metrics, logs]
distributions: [contrib]
distributions: [contrib, splunk]
codeowners:
active: [dmitryax, dao-jun]
10 changes: 10 additions & 0 deletions metric-metadata/signalfxexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ status:
distributions: [contrib, splunk, observiq, aws]
codeowners:
active: [dmitryax, crobert-1]
tests:
config:
access_token: "my_fake_token"
ingest_url: "http://localhost:1234"
api_url: "http://localhost:1234"
sending_queue:
enabled: false
retry_on_failure:
enabled: false
expect_consumer_error: true
11 changes: 10 additions & 1 deletion metric-metadata/splunkhecexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ status:
beta: [traces, metrics, logs]
distributions: [contrib, splunk, observiq]
codeowners:
active: [atoulme, dmitryax]
active: [atoulme, dmitryax]
tests:
config:
token: "my_fake_token"
endpoint: "http://localhost:0"
sending_queue:
enabled: false
retry_on_failure:
enabled: false
expect_consumer_error: true
2 changes: 1 addition & 1 deletion metric-metadata/sumologicprocessor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status:
class: processor
stability:
beta: [traces, metrics, logs]
distributions: [sumo]
distributions: [contrib, sumo]
codeowners:
active: [aboguszewski-sumo, astencel-sumo, sumo-drosiek]
1 change: 1 addition & 0 deletions metric-metadata/syslogexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ status:
class: exporter
stability:
alpha: [logs]
distributions: [contrib]
codeowners:
active: [kkujawa-sumo, rnishtala-sumo, astencel-sumo]
2 changes: 1 addition & 1 deletion metric-metadata/udplogreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status:
class: receiver
stability:
alpha: [logs]
distributions: [contrib, observiq, sumo]
distributions: [contrib, observiq, sumo, splunk]
codeowners:
active: [djaglowski]
2 changes: 1 addition & 1 deletion metric-metadata/wavefrontreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ status:
class: receiver
stability:
beta: [metrics]
distributions: [contrib, sumo]
distributions: [contrib, sumo, splunk]
codeowners:
active: [samiura]

0 comments on commit 68aa693

Please sign in to comment.