Skip to content

Commit cdd89b5

Browse files
codebotenf7o
authored andcommitted
[receiver/vcenter] update scope name for consistency (open-telemetry#34449)
Update the scope name for telemetry produced by the vcenterreceiver from otelcol/vcenter to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver Part of open-telemetry/opentelemetry-collector#9494 --------- Signed-off-by: Alex Boten <[email protected]>
1 parent 4280bd5 commit cdd89b5

File tree

6 files changed

+63
-37
lines changed

6 files changed

+63
-37
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
7+
component: vcenterreceiver
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Update the scope name for telemetry produced by the vcenterreceiver from otelcol/vcenter to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [34449]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: []

receiver/vcenterreceiver/internal/metadata/generated_metrics.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/vcenterreceiver/metadata.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
type: vcenter
2-
scope_name: otelcol/vcenterreceiver
32

43
status:
54
class: receiver

receiver/vcenterreceiver/testdata/integration/expected.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ resourceMetrics:
120120
timeUnixNano: "2000000"
121121
unit: '{virtual_machines}'
122122
scope:
123-
name: otelcol/vcenterreceiver
123+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
124124
version: latest
125125
- resource:
126126
attributes:
@@ -225,7 +225,7 @@ resourceMetrics:
225225
timeUnixNano: "2000000"
226226
unit: '{virtual_machine_templates}'
227227
scope:
228-
name: otelcol/vcenterreceiver
228+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
229229
version: latest
230230
- resource:
231231
attributes:
@@ -266,7 +266,7 @@ resourceMetrics:
266266
name: vcenter.datastore.disk.utilization
267267
unit: '%'
268268
scope:
269-
name: otelcol/vcenterreceiver
269+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
270270
version: latest
271271
- resource:
272272
attributes:
@@ -322,7 +322,7 @@ resourceMetrics:
322322
name: vcenter.host.memory.utilization
323323
unit: '%'
324324
scope:
325-
name: otelcol/vcenterreceiver
325+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
326326
version: latest
327327
- resource:
328328
attributes:
@@ -381,7 +381,7 @@ resourceMetrics:
381381
name: vcenter.host.memory.utilization
382382
unit: '%'
383383
scope:
384-
name: otelcol/vcenterreceiver
384+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
385385
version: latest
386386
- resource:
387387
attributes:
@@ -440,7 +440,7 @@ resourceMetrics:
440440
name: vcenter.host.memory.utilization
441441
unit: '%'
442442
scope:
443-
name: otelcol/vcenterreceiver
443+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
444444
version: latest
445445
- resource:
446446
attributes:
@@ -499,7 +499,7 @@ resourceMetrics:
499499
name: vcenter.host.memory.utilization
500500
unit: '%'
501501
scope:
502-
name: otelcol/vcenterreceiver
502+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
503503
version: latest
504504
- resource:
505505
attributes:
@@ -536,7 +536,7 @@ resourceMetrics:
536536
timeUnixNano: "2000000"
537537
unit: '{shares}'
538538
scope:
539-
name: otelcol/vcenterreceiver
539+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
540540
version: latest
541541
- resource:
542542
attributes:
@@ -573,7 +573,7 @@ resourceMetrics:
573573
timeUnixNano: "2000000"
574574
unit: '{shares}'
575575
scope:
576-
name: otelcol/vcenterreceiver
576+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
577577
version: latest
578578
- resource:
579579
attributes:
@@ -662,7 +662,7 @@ resourceMetrics:
662662
timeUnixNano: "2000000"
663663
unit: MiBy
664664
scope:
665-
name: otelcol/vcenterreceiver
665+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
666666
version: latest
667667
- resource:
668668
attributes:
@@ -751,7 +751,7 @@ resourceMetrics:
751751
timeUnixNano: "2000000"
752752
unit: MiBy
753753
scope:
754-
name: otelcol/vcenterreceiver
754+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
755755
version: latest
756756
- resource:
757757
attributes:
@@ -843,7 +843,7 @@ resourceMetrics:
843843
timeUnixNano: "2000000"
844844
unit: MiBy
845845
scope:
846-
name: otelcol/vcenterreceiver
846+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
847847
version: latest
848848
- resource:
849849
attributes:
@@ -935,5 +935,5 @@ resourceMetrics:
935935
timeUnixNano: "2000000"
936936
unit: MiBy
937937
scope:
938-
name: otelcol/vcenterreceiver
938+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
939939
version: latest

receiver/vcenterreceiver/testdata/metrics/expected-all-enabled.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ resourceMetrics:
130130
timeUnixNano: "2000000"
131131
unit: '{virtual_machines}'
132132
scope:
133-
name: otelcol/vcenterreceiver
133+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
134134
version: latest
135135
- resource:
136136
attributes:
@@ -345,7 +345,7 @@ resourceMetrics:
345345
name: vcenter.cluster.vsan.throughput
346346
unit: By/s
347347
scope:
348-
name: otelcol/vcenterreceiver
348+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
349349
version: latest
350350
- resource:
351351
attributes:
@@ -386,7 +386,7 @@ resourceMetrics:
386386
name: vcenter.datastore.disk.utilization
387387
unit: '%'
388388
scope:
389-
name: otelcol/vcenterreceiver
389+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
390390
version: latest
391391
- resource:
392392
attributes:
@@ -3142,7 +3142,7 @@ resourceMetrics:
31423142
name: vcenter.host.vsan.throughput
31433143
unit: By/s
31443144
scope:
3145-
name: otelcol/vcenterreceiver
3145+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
31463146
version: latest
31473147
- resource:
31483148
attributes:
@@ -5901,7 +5901,7 @@ resourceMetrics:
59015901
name: vcenter.host.vsan.throughput
59025902
unit: By/s
59035903
scope:
5904-
name: otelcol/vcenterreceiver
5904+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
59055905
version: latest
59065906
- resource:
59075907
attributes:
@@ -6012,7 +6012,7 @@ resourceMetrics:
60126012
timeUnixNano: "2000000"
60136013
unit: MiBy
60146014
scope:
6015-
name: otelcol/vcenterreceiver
6015+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
60166016
version: latest
60176017
- resource:
60186018
attributes:
@@ -6123,7 +6123,7 @@ resourceMetrics:
61236123
timeUnixNano: "2000000"
61246124
unit: MiBy
61256125
scope:
6126-
name: otelcol/vcenterreceiver
6126+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
61276127
version: latest
61286128
- resource:
61296129
attributes:
@@ -6165,7 +6165,7 @@ resourceMetrics:
61656165
timeUnixNano: "2000000"
61666166
unit: By
61676167
scope:
6168-
name: otelcol/vcenterreceiver
6168+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
61696169
version: latest
61706170
- resource:
61716171
attributes:
@@ -6799,7 +6799,7 @@ resourceMetrics:
67996799
timeUnixNano: "1000000"
68006800
unit: '{KiBy/s}'
68016801
scope:
6802-
name: otelcol/vcenterreceiver
6802+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
68036803
version: latest
68046804
- resource:
68056805
attributes:
@@ -7535,7 +7535,7 @@ resourceMetrics:
75357535
name: vcenter.vm.vsan.throughput
75367536
unit: By/s
75377537
scope:
7538-
name: otelcol/vcenterreceiver
7538+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
75397539
version: latest
75407540
- resource:
75417541
attributes:
@@ -8271,5 +8271,5 @@ resourceMetrics:
82718271
name: vcenter.vm.vsan.throughput
82728272
unit: By/s
82738273
scope:
8274-
name: otelcol/vcenterreceiver
8274+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
82758275
version: latest

receiver/vcenterreceiver/testdata/metrics/expected.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ resourceMetrics:
130130
timeUnixNano: "2000000"
131131
unit: '{virtual_machines}'
132132
scope:
133-
name: otelcol/vcenterreceiver
133+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
134134
version: latest
135135
- resource:
136136
attributes:
@@ -345,7 +345,7 @@ resourceMetrics:
345345
name: vcenter.cluster.vsan.throughput
346346
unit: By/s
347347
scope:
348-
name: otelcol/vcenterreceiver
348+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
349349
version: latest
350350
- resource:
351351
attributes:
@@ -386,7 +386,7 @@ resourceMetrics:
386386
name: vcenter.datastore.disk.utilization
387387
unit: '%'
388388
scope:
389-
name: otelcol/vcenterreceiver
389+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
390390
version: latest
391391
- resource:
392392
attributes:
@@ -3142,7 +3142,7 @@ resourceMetrics:
31423142
name: vcenter.host.vsan.throughput
31433143
unit: By/s
31443144
scope:
3145-
name: otelcol/vcenterreceiver
3145+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
31463146
version: latest
31473147
- resource:
31483148
attributes:
@@ -5901,7 +5901,7 @@ resourceMetrics:
59015901
name: vcenter.host.vsan.throughput
59025902
unit: By/s
59035903
scope:
5904-
name: otelcol/vcenterreceiver
5904+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
59055905
version: latest
59065906
- resource:
59075907
attributes:
@@ -5993,7 +5993,7 @@ resourceMetrics:
59935993
timeUnixNano: "1000000"
59945994
unit: MiBy
59955995
scope:
5996-
name: otelcol/vcenterreceiver
5996+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
59975997
version: latest
59985998
- resource:
59995999
attributes:
@@ -6085,7 +6085,7 @@ resourceMetrics:
60856085
timeUnixNano: "1000000"
60866086
unit: MiBy
60876087
scope:
6088-
name: otelcol/vcenterreceiver
6088+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
60896089
version: latest
60906090
- resource:
60916091
attributes:
@@ -6127,7 +6127,7 @@ resourceMetrics:
61276127
timeUnixNano: "2000000"
61286128
unit: By
61296129
scope:
6130-
name: otelcol/vcenterreceiver
6130+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
61316131
version: latest
61326132
- resource:
61336133
attributes:
@@ -6761,7 +6761,7 @@ resourceMetrics:
67616761
timeUnixNano: "1000000"
67626762
unit: '{KiBy/s}'
67636763
scope:
6764-
name: otelcol/vcenterreceiver
6764+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
67656765
version: latest
67666766
- resource:
67676767
attributes:
@@ -7497,7 +7497,7 @@ resourceMetrics:
74977497
name: vcenter.vm.vsan.throughput
74987498
unit: By/s
74997499
scope:
7500-
name: otelcol/vcenterreceiver
7500+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
75017501
version: latest
75027502
- resource:
75037503
attributes:
@@ -8233,5 +8233,5 @@ resourceMetrics:
82338233
name: vcenter.vm.vsan.throughput
82348234
unit: By/s
82358235
scope:
8236-
name: otelcol/vcenterreceiver
8236+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/vcenterreceiver
82378237
version: latest

0 commit comments

Comments
 (0)