Skip to content

Commit

Permalink
Merge pull request #49 from splunk/metadata-update-2024-06-25
Browse files Browse the repository at this point in the history
0.103
  • Loading branch information
theletterf authored Jun 27, 2024
2 parents a60fb7a + 8ce16fa commit 8bda00e
Show file tree
Hide file tree
Showing 14 changed files with 402 additions and 51 deletions.
49 changes: 48 additions & 1 deletion metric-metadata/azure.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
type: resourcedetectionprocessor/azure

parent: resourcedetection

status:
class: pkg
codeowners:
active: [open-telemetry/collector-approvers, atoulme, cparkins]
active: [mx-psi]

resource_attributes:
cloud.provider:
description: The cloud.provider
type: string
enabled: true
cloud.platform:
description: The cloud.platform
type: string
enabled: true
cloud.region:
description: The cloud.region
type: string
enabled: true
cloud.account.id:
description: The cloud.account.id
type: string
enabled: true
host.name:
description: The hostname
type: string
enabled: true
host.id:
description: The host.id
type: string
enabled: true
azure.resourcegroup.name:
description: The azure.resourcegroup.name
enabled: true
type: string
azure.vm.name:
description: The azure.vm.name
enabled: true
type: string
azure.vm.scaleset.name:
description: The azure.vm.scaleset.name
enabled: true
type: string
azure.vm.size:
description: The azure.vm.size
enabled: true
type: string
17 changes: 1 addition & 16 deletions metric-metadata/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
type: resourcedetectionprocessor/docker

parent: resourcedetection

status:
class: pkg
codeowners:
active:

resource_attributes:
host.name:
description: The host.name
type: string
enabled: true
os.type:
description: The os.type
type: string
enabled: true
active: [rmfitzpatrick, jamesmoessis]
43 changes: 38 additions & 5 deletions metric-metadata/fluentforwardreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,41 @@ status:

tests:
config:
goleak:
ignore:
top:
# See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information.
- "go.opencensus.io/stats/view.(*worker).start"

telemetry:
metrics:
fluent_opened_connections:
enabled: true
description: Number of connections opened to the fluentforward receiver
unit: "1"
sum:
value_type: int
monotonic:
fluent_closed_connections:
enabled: true
description: Number of connections closed to the fluentforward receiver
unit: "1"
sum:
value_type: int
monotonic:
fluent_events_parsed:
enabled: true
description: Number of Fluent events parsed successfully
unit: "1"
sum:
value_type: int
monotonic:
fluent_parse_failures:
enabled: true
description: Number of times Fluent messages failed to be decoded
unit: "1"
sum:
value_type: int
monotonic:
fluent_records_generated:
enabled: true
description: Number of log records generated from Fluent forward input
unit: "1"
sum:
value_type: int
monotonic:
55 changes: 45 additions & 10 deletions metric-metadata/gitproviderreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,48 +41,83 @@ attributes:
metrics:
git.repository.count:
enabled: true
description: Number of repositories in an organization
unit: "{repository}"
description: The number of repositories in an organization.
unit: '{repository}'
gauge:
value_type: int
attributes: []
git.repository.branch.count:
enabled: true
description: Number of branches in a repository
unit: "{branch}"
description: The number of branches in a repository.
unit: '{branch}'
gauge:
value_type: int
attributes: [repository.name]
git.repository.branch.time:
enabled: true
description: Time a branch created from the default branch (trunk) has existed.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.commit.aheadby.count:
enabled: true
description: The number of commits a branch is ahead of the default branch (trunk).
unit: '{commit}'
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.commit.behindby.count:
enabled: true
description: The number of commits a branch is behind the default branch (trunk).
unit: '{commit}'
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.line.addition.count:
enabled: true
description: The number of lines added in a branch relative to the default branch (trunk).
unit: '{line}'
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.line.deletion.count:
enabled: true
description: The number of lines deleted in a branch relative to the default branch (trunk).
unit: '{line}'
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.contributor.count:
enabled: false
description: Total number of unique contributors to a repository
unit: "{contributor}"
description: The number of unique contributors to a repository.
unit: '{contributor}'
gauge:
value_type: int
attributes: [repository.name]
git.repository.pull_request.time_open:
enabled: true
description: The amount of time a pull request has been open
description: The amount of time a pull request has been open.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.time_to_merge:
enabled: true
description: The amount of time it took a pull request to go from open to merged
description: The amount of time it took a pull request to go from open to merged.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.time_to_approval:
enabled: true
description: The amount of time it took a pull request to go from open to approved
description: The amount of time it took a pull request to go from open to approved.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.count:
description: The number of pull requests in a repository, categorized by their state (either open or merged)
description: The number of pull requests in a repository, categorized by their state (either open or merged).
enabled: true
gauge:
value_type: int
Expand Down
2 changes: 1 addition & 1 deletion metric-metadata/googlecloudspannerreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ scope_name: otelcol/googlecloudspannerreceiver
status:
class: receiver
stability:
beta: [metrics]
unmaintained: [metrics]
distributions: [contrib]
codeowners:
active: [varunraiko]
Expand Down
24 changes: 24 additions & 0 deletions metric-metadata/grafanacloudconnector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,27 @@ status:

tests:
config:

telemetry:
metrics:
grafanacloud_host_count:
description: Number of unique hosts
unit: "1"
enabled: true
gauge:
value_type: int
async: true
grafanacloud_flush_count:
description: Number of metrics flushes
unit: "1"
enabled: true
sum:
value_type: int
monotonic: true
grafanacloud_datapoint_count:
description: Number of datapoints sent to Grafana Cloud
unit: "1"
enabled: true
sum:
value_type: int
monotonic: true
5 changes: 0 additions & 5 deletions metric-metadata/healthcheckextension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@ status:
tests:
config:
endpoint: localhost:0
goleak:
ignore:
top:
# See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information.
- "go.opencensus.io/stats/view.(*worker).start"
100 changes: 100 additions & 0 deletions metric-metadata/k8sattributesprocessor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,103 @@ tests:
config:
goleak:
skip: true

telemetry:
metrics:
otelsvc_k8s_pod_updated:
enabled: true
description: Number of pod update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_added:
enabled: true
description: Number of pod add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_deleted:
enabled: true
description: Number of pod delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_pod_table_size:
enabled: true
description: Size of table containing pod info
unit: "1"
gauge:
value_type: int
otelsvc_k8s_ip_lookup_miss:
enabled: true
description: Number of times pod by IP lookup failed.
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_updated:
enabled: true
description: Number of namespace update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_added:
enabled: true
description: Number of namespace add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_namespace_deleted:
enabled: true
description: Number of namespace delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_updated:
enabled: true
description: Number of node update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_added:
enabled: true
description: Number of node add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_node_deleted:
enabled: true
description: Number of node delete events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_updated:
enabled: true
description: Number of ReplicaSet update events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_added:
enabled: true
description: Number of ReplicaSet add events received
unit: "1"
sum:
value_type: int
monotonic: true
otelsvc_k8s_replicaset_deleted:
enabled: true
description: Number of ReplicaSet delete events received
unit: "1"
sum:
value_type: int
monotonic: true
7 changes: 7 additions & 0 deletions metric-metadata/kubeletstatsreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ metrics:
gauge:
value_type: int
attributes: []
k8s.pod.cpu.node.utilization:
enabled: false
description: "Pod cpu utilization as a ratio of the node's capacity"
unit: 1
gauge:
value_type: double
attributes: [ ]
k8s.pod.cpu_limit_utilization:
enabled: false
description: "Pod cpu utilization as a ratio of the pod's total container limits. If any container is missing a limit the metric is not emitted."
Expand Down
4 changes: 2 additions & 2 deletions metric-metadata/mongodbreceiver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,6 @@ metrics:
aggregation_temporality: cumulative
attributes: [ ]

# TODO: Update the receiver to pass the tests
tests:
skip_lifecycle: true
config:
timeout: 1ms
2 changes: 1 addition & 1 deletion metric-metadata/pdatautil.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
status:
codeowners:
active: [dmitryax]
active: [djaglowski]
Loading

0 comments on commit 8bda00e

Please sign in to comment.