Skip to content

Commit 1146a37

Browse files
authored
[receiver/haproxyreceiver] update scope name for consistency (#34498)
Update the scope name for telemetry produced by the haproxyreceiverreceiver from otelcol/haproxyreceiver to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiverreceiver Part of open-telemetry/opentelemetry-collector#9494 --------- Signed-off-by: Alex Boten <[email protected]>
1 parent 92167b2 commit 1146a37

File tree

6 files changed

+40
-14
lines changed

6 files changed

+40
-14
lines changed
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: haproxyreceiver
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 haproxyreceiver from `otelcol/haproxyreceiver` to `github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver`"
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: [34498]
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/haproxyreceiver/internal/metadata/generated_metrics.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/haproxyreceiver/metadata.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
type: haproxy
2-
scope_name: otelcol/haproxyreceiver
32

43
status:
54
class: receiver

receiver/haproxyreceiver/testdata/integration/expected.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ resourceMetrics:
144144
name: haproxy.sessions.rate
145145
unit: '{sessions}'
146146
scope:
147-
name: otelcol/haproxyreceiver
147+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
148148
version: latest

receiver/haproxyreceiver/testdata/scraper/30252_expected.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ resourceMetrics:
144144
name: haproxy.sessions.rate
145145
unit: '{sessions}'
146146
scope:
147-
name: otelcol/haproxyreceiver
147+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
148148
version: latest
149149
- resource:
150150
attributes:
@@ -291,7 +291,7 @@ resourceMetrics:
291291
name: haproxy.sessions.rate
292292
unit: '{sessions}'
293293
scope:
294-
name: otelcol/haproxyreceiver
294+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
295295
version: latest
296296
- resource:
297297
attributes:
@@ -480,7 +480,7 @@ resourceMetrics:
480480
name: haproxy.sessions.rate
481481
unit: '{sessions}'
482482
scope:
483-
name: otelcol/haproxyreceiver
483+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
484484
version: latest
485485
- resource:
486486
attributes:
@@ -659,7 +659,7 @@ resourceMetrics:
659659
name: haproxy.sessions.rate
660660
unit: '{sessions}'
661661
scope:
662-
name: otelcol/haproxyreceiver
662+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
663663
version: latest
664664
- resource:
665665
attributes:
@@ -838,5 +838,5 @@ resourceMetrics:
838838
name: haproxy.sessions.rate
839839
unit: '{sessions}'
840840
scope:
841-
name: otelcol/haproxyreceiver
841+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
842842
version: latest

receiver/haproxyreceiver/testdata/scraper/expected.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ resourceMetrics:
144144
name: haproxy.sessions.rate
145145
unit: '{sessions}'
146146
scope:
147-
name: otelcol/haproxyreceiver
147+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
148148
version: latest
149149
- resource:
150150
attributes:
@@ -291,7 +291,7 @@ resourceMetrics:
291291
name: haproxy.sessions.rate
292292
unit: '{sessions}'
293293
scope:
294-
name: otelcol/haproxyreceiver
294+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
295295
version: latest
296296
- resource:
297297
attributes:
@@ -480,7 +480,7 @@ resourceMetrics:
480480
name: haproxy.sessions.rate
481481
unit: '{sessions}'
482482
scope:
483-
name: otelcol/haproxyreceiver
483+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
484484
version: latest
485485
- resource:
486486
attributes:
@@ -659,7 +659,7 @@ resourceMetrics:
659659
name: haproxy.sessions.rate
660660
unit: '{sessions}'
661661
scope:
662-
name: otelcol/haproxyreceiver
662+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
663663
version: latest
664664
- resource:
665665
attributes:
@@ -838,7 +838,7 @@ resourceMetrics:
838838
name: haproxy.sessions.rate
839839
unit: '{sessions}'
840840
scope:
841-
name: otelcol/haproxyreceiver
841+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
842842
version: latest
843843
- resource:
844844
attributes:
@@ -1017,5 +1017,5 @@ resourceMetrics:
10171017
name: haproxy.sessions.rate
10181018
unit: '{sessions}'
10191019
scope:
1020-
name: otelcol/haproxyreceiver
1020+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/haproxyreceiver
10211021
version: latest

0 commit comments

Comments
 (0)