Skip to content

Commit 5374bba

Browse files
authored
[receiver/iisreceiver] update scope name for consistency (#34535)
Update the scope name for telemetry produced by the iisreceiverreceiver from otelcol/iisreceiver to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiverreceiver Part of open-telemetry/opentelemetry-collector#9494 --------- Signed-off-by: Alex Boten <[email protected]>
1 parent 8c9d98b commit 5374bba

File tree

6 files changed

+36
-10
lines changed

6 files changed

+36
-10
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: iisreceiver
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 iisreceiver from `otelcol/iisreceiver` to `github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver`"
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: [34535]
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/iisreceiver/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/iisreceiver/metadata.yaml

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

43
status:
54
class: receiver

receiver/iisreceiver/testdata/integration/expected.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ resourceMetrics:
152152
name: iis.uptime
153153
unit: s
154154
scope:
155-
name: otelcol/iisreceiver
155+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
156156
version: latest
157157
- resource:
158158
attributes:
@@ -189,7 +189,7 @@ resourceMetrics:
189189
isMonotonic: true
190190
unit: "{requests}"
191191
scope:
192-
name: otelcol/iisreceiver
192+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
193193
version: latest
194194
- resource:
195195
attributes:
@@ -226,7 +226,7 @@ resourceMetrics:
226226
isMonotonic: true
227227
unit: "{requests}"
228228
scope:
229-
name: otelcol/iisreceiver
229+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
230230
version: latest
231231
- resource: {}
232232
scopeMetrics:
@@ -241,5 +241,5 @@ resourceMetrics:
241241
timeUnixNano: "1664375533465547100"
242242
unit: "{threads}"
243243
scope:
244-
name: otelcol/iisreceiver
244+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
245245
version: latest

receiver/iisreceiver/testdata/scraper/expected.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ resourceMetrics:
152152
name: iis.uptime
153153
unit: s
154154
scope:
155-
name: otelcol/iisreceiver
155+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
156156
version: latest
157157
- resource:
158158
attributes:
@@ -189,7 +189,7 @@ resourceMetrics:
189189
isMonotonic: true
190190
unit: '{requests}'
191191
scope:
192-
name: otelcol/iisreceiver
192+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
193193
version: latest
194194
- resource: {}
195195
scopeMetrics:
@@ -204,5 +204,5 @@ resourceMetrics:
204204
timeUnixNano: "1664375532831495700"
205205
unit: '{threads}'
206206
scope:
207-
name: otelcol/iisreceiver
207+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
208208
version: latest

receiver/iisreceiver/testdata/scraper/expected_negative_denominator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ resourceMetrics:
1515
name: iis.request.queue.age.max
1616
unit: ms
1717
scope:
18-
name: otelcol/iisreceiver
18+
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/iisreceiver
1919
version: latest

0 commit comments

Comments
 (0)