File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
specification/metrics/sdk_exporters Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ release.
16
16
17
17
### Metrics
18
18
19
+ - Clarify prometheus exporter should have ` host ` and ` port ` configuration options.
20
+ ([ #4147 ] ( https://github.com/open-telemetry/opentelemetry-specification/pull/4147 ) )
21
+
19
22
### Logs
20
23
21
24
### Events
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ Prometheus exporter.
40
40
41
41
## Configuration
42
42
43
+ A Prometheus Exporter SHOULD support a configuration option to set the host
44
+ that metrics are served on. The option MAY be named ` host ` , and MUST be ` localhost `
45
+ by default.
46
+
47
+ A Prometheus Exporter SHOULD support a configuration option to set the port
48
+ that metrics are served on. The option MAY be named ` port ` , and MUST be ` 9464 ` by
49
+ default.
50
+
43
51
A Prometheus Exporter MAY offer configuration to add resource attributes as metric attributes.
44
52
By default, it MUST NOT add any resource attributes as metric attributes.
45
53
The configuration SHOULD allow the user to select which resource attributes to copy (e.g.
You can’t perform that action at this time.
0 commit comments