Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/vcenter] update scope name for consistency #34449

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .chloggen/codeboten_update-scope-receivers-vcenter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: vcenterreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Update the scope name for telemetry produced by the vcenterreceiver from otelcol/vcenter to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [34449]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: []

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

1 change: 0 additions & 1 deletion receiver/vcenterreceiver/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type: vcenter
scope_name: otelcol/vcenterreceiver

status:
class: receiver
Expand Down
26 changes: 13 additions & 13 deletions receiver/vcenterreceiver/testdata/integration/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{virtual_machines}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -225,7 +225,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{virtual_machine_templates}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -266,7 +266,7 @@ resourceMetrics:
name: vcenter.datastore.disk.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -322,7 +322,7 @@ resourceMetrics:
name: vcenter.host.memory.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -381,7 +381,7 @@ resourceMetrics:
name: vcenter.host.memory.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -440,7 +440,7 @@ resourceMetrics:
name: vcenter.host.memory.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -499,7 +499,7 @@ resourceMetrics:
name: vcenter.host.memory.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -536,7 +536,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{shares}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -573,7 +573,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{shares}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -662,7 +662,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -751,7 +751,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -843,7 +843,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -935,5 +935,5 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{virtual_machines}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -345,7 +345,7 @@ resourceMetrics:
name: vcenter.cluster.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -386,7 +386,7 @@ resourceMetrics:
name: vcenter.datastore.disk.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -3142,7 +3142,7 @@ resourceMetrics:
name: vcenter.host.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -5901,7 +5901,7 @@ resourceMetrics:
name: vcenter.host.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6012,7 +6012,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6123,7 +6123,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6165,7 +6165,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: By
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6799,7 +6799,7 @@ resourceMetrics:
timeUnixNano: "1000000"
unit: '{KiBy/s}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -7535,7 +7535,7 @@ resourceMetrics:
name: vcenter.vm.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -8271,5 +8271,5 @@ resourceMetrics:
name: vcenter.vm.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
22 changes: 11 additions & 11 deletions receiver/vcenterreceiver/testdata/metrics/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: '{virtual_machines}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -345,7 +345,7 @@ resourceMetrics:
name: vcenter.cluster.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -386,7 +386,7 @@ resourceMetrics:
name: vcenter.datastore.disk.utilization
unit: '%'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -3142,7 +3142,7 @@ resourceMetrics:
name: vcenter.host.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -5901,7 +5901,7 @@ resourceMetrics:
name: vcenter.host.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -5993,7 +5993,7 @@ resourceMetrics:
timeUnixNano: "1000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6085,7 +6085,7 @@ resourceMetrics:
timeUnixNano: "1000000"
unit: MiBy
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6127,7 +6127,7 @@ resourceMetrics:
timeUnixNano: "2000000"
unit: By
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -6761,7 +6761,7 @@ resourceMetrics:
timeUnixNano: "1000000"
unit: '{KiBy/s}'
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -7497,7 +7497,7 @@ resourceMetrics:
name: vcenter.vm.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
- resource:
attributes:
Expand Down Expand Up @@ -8233,5 +8233,5 @@ resourceMetrics:
name: vcenter.vm.vsan.throughput
unit: By/s
scope:
name: otelcol/vcenterreceiver
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
version: latest
Loading