Skip to content

Commit

Permalink
dockerstatsreceiver: migrate to newer semconv version
Browse files Browse the repository at this point in the history
  • Loading branch information
narcis96 committed Oct 4, 2024
1 parent fb37793 commit aae4800
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions receiver/dockerstatsreceiver/generated_package_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion receiver/dockerstatsreceiver/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"go.opentelemetry.io/collector/pipeline"
rcvr "go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/receivertest"
conventions "go.opentelemetry.io/collector/semconv/v1.6.1"
conventions "go.opentelemetry.io/collector/semconv/v1.27.0"
"go.uber.org/zap"
"go.uber.org/zap/zaptest"
)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion receiver/dockerstatsreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ status:
active: [rmfitzpatrick, jamesmoessis]
unsupported_platforms: [darwin, windows]

sem_conv_version: 1.6.1
sem_conv_version: 1.27.0

# Note: there are other, additional resource attributes that the user can configure through the yaml
resource_attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resourceMetrics:
- key: container.runtime
value:
stringValue: docker
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resourceMetrics:
- key: container.runtime
value:
stringValue: docker
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resourceMetrics:
- key: env-var-metric-label
value:
stringValue: env-var
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resourceMetrics:
- key: container.runtime
value:
stringValue: docker
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resourceMetrics:
- key: env-var-metric-label-2
value:
stringValue: env-var-2
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resourceMetrics:
- key: env-var-metric-label
value:
stringValue: env-var
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resourceMetrics:
- key: env-var-metric-label
value:
stringValue: env-var
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down Expand Up @@ -807,7 +807,7 @@ resourceMetrics:
- key: env-var-metric-label
value:
stringValue: env-var2
schemaUrl: https://opentelemetry.io/schemas/1.6.1
schemaUrl: https://opentelemetry.io/schemas/1.27.0
scopeMetrics:
- metrics:
- description: Number of bytes transferred to/from the disk by the group and descendant groups.
Expand Down

0 comments on commit aae4800

Please sign in to comment.