Skip to content
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
10 changes: 5 additions & 5 deletions language-support-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Latest supported file format: `1.0.0`
| [`ExperimentalOtlpFileMetricExporter`](schema-docs.md#experimentalotlpfilemetricexporter) | supported | | * `default_histogram_aggregation`: supported<br>* `output_stream`: supported<br>* `temporality_preference`: supported<br> |
| [`ExperimentalProbabilitySampler`](schema-docs.md#experimentalprobabilitysampler) | not_implemented | | * `ratio`: not_implemented<br> |
| [`ExperimentalProcessResourceDetector`](schema-docs.md#experimentalprocessresourcedetector) | not_implemented | | |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `translation_strategy`: supported<br>* `with_resource_constant_labels`: supported<br>* `without_scope_info`: supported<br>* `without_target_info/development`: supported<br> |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `resource_constant_labels`: supported<br>* `scope_info_enabled`: supported<br>* `translation_strategy`: supported<br>* `target_info_enabled/development`: supported<br> |
| [`ExperimentalPrometheusTranslationStrategy`](schema-docs.md#experimentalprometheustranslationstrategy) | supported | | * `no_translation/development`: not_implemented<br>* `no_utf8_escaping_with_suffixes/development`: not_implemented<br>* `underscore_escaping_with_suffixes`: supported<br>* `underscore_escaping_without_suffixes/development`: supported<br> |
| [`ExperimentalResourceDetection`](schema-docs.md#experimentalresourcedetection) | not_implemented | | * `attributes`: not_implemented<br>* `detectors`: not_implemented<br> |
| [`ExperimentalResourceDetector`](schema-docs.md#experimentalresourcedetector) | not_implemented | | * `container`: not_implemented<br>* `host`: not_implemented<br>* `process`: not_implemented<br>* `service`: not_implemented<br> |
Expand Down Expand Up @@ -233,7 +233,7 @@ Latest supported file format: `1.0.0`
| [`ExperimentalOtlpFileMetricExporter`](schema-docs.md#experimentalotlpfilemetricexporter) | not_implemented | | * `default_histogram_aggregation`: not_implemented<br>* `output_stream`: not_implemented<br>* `temporality_preference`: not_implemented<br> |
| [`ExperimentalProbabilitySampler`](schema-docs.md#experimentalprobabilitysampler) | not_implemented | | * `ratio`: not_implemented<br> |
| [`ExperimentalProcessResourceDetector`](schema-docs.md#experimentalprocessresourcedetector) | supported | | |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `translation_strategy`: supported<br>* `with_resource_constant_labels`: supported<br>* `without_scope_info`: supported<br>* `without_target_info/development`: supported<br> |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `resource_constant_labels`: supported<br>* `scope_info_enabled`: supported<br>* `translation_strategy`: supported<br>* `target_info_enabled/development`: supported<br> |
| [`ExperimentalPrometheusTranslationStrategy`](schema-docs.md#experimentalprometheustranslationstrategy) | supported | | * `no_translation/development`: supported<br>* `no_utf8_escaping_with_suffixes/development`: supported<br>* `underscore_escaping_with_suffixes`: supported<br>* `underscore_escaping_without_suffixes/development`: supported<br> |
| [`ExperimentalResourceDetection`](schema-docs.md#experimentalresourcedetection) | supported | | * `attributes`: supported<br>* `detectors`: supported<br> |
| [`ExperimentalResourceDetector`](schema-docs.md#experimentalresourcedetector) | supported | | * `container`: supported<br>* `host`: supported<br>* `process`: supported<br>* `service`: supported<br> |
Expand Down Expand Up @@ -352,7 +352,7 @@ Latest supported file format: `1.0.0-rc.3`
| [`ExperimentalOtlpFileMetricExporter`](schema-docs.md#experimentalotlpfilemetricexporter) | supported | | * `default_histogram_aggregation`: supported<br>* `output_stream`: not_implemented<br>* `temporality_preference`: supported<br> |
| [`ExperimentalProbabilitySampler`](schema-docs.md#experimentalprobabilitysampler) | supported | | * `ratio`: supported<br> |
| [`ExperimentalProcessResourceDetector`](schema-docs.md#experimentalprocessresourcedetector) | supported | | |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `translation_strategy`: not_implemented<br>* `with_resource_constant_labels`: supported<br>* `without_scope_info`: supported<br>* `without_target_info/development`: supported<br> |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | supported | | * `host`: supported<br>* `port`: supported<br>* `resource_constant_labels`: supported<br>* `scope_info_enabled`: supported<br>* `translation_strategy`: not_implemented<br>* `target_info_enabled/development`: supported<br> |
| [`ExperimentalPrometheusTranslationStrategy`](schema-docs.md#experimentalprometheustranslationstrategy) | not_implemented | | * `no_translation/development`: not_implemented<br>* `no_utf8_escaping_with_suffixes/development`: not_implemented<br>* `underscore_escaping_with_suffixes`: not_implemented<br>* `underscore_escaping_without_suffixes/development`: not_implemented<br> |
| [`ExperimentalResourceDetection`](schema-docs.md#experimentalresourcedetection) | supported | | * `attributes`: supported<br>* `detectors`: supported<br> |
| [`ExperimentalResourceDetector`](schema-docs.md#experimentalresourcedetector) | supported | | * `container`: supported<br>* `host`: supported<br>* `process`: supported<br>* `service`: supported<br> |
Expand Down Expand Up @@ -471,7 +471,7 @@ Latest supported file format: `1.0.0-rc.3`
| [`ExperimentalOtlpFileMetricExporter`](schema-docs.md#experimentalotlpfilemetricexporter) | unknown | | * `default_histogram_aggregation`: unknown<br>* `output_stream`: unknown<br>* `temporality_preference`: unknown<br> |
| [`ExperimentalProbabilitySampler`](schema-docs.md#experimentalprobabilitysampler) | unknown | | * `ratio`: unknown<br> |
| [`ExperimentalProcessResourceDetector`](schema-docs.md#experimentalprocessresourcedetector) | unknown | | |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | unknown | | * `host`: unknown<br>* `port`: unknown<br>* `translation_strategy`: unknown<br>* `with_resource_constant_labels`: unknown<br>* `without_scope_info`: unknown<br>* `without_target_info/development`: unknown<br> |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | unknown | | * `host`: unknown<br>* `port`: unknown<br>* `resource_constant_labels`: unknown<br>* `scope_info_enabled`: unknown<br>* `translation_strategy`: unknown<br>* `target_info_enabled/development`: unknown<br> |
| [`ExperimentalPrometheusTranslationStrategy`](schema-docs.md#experimentalprometheustranslationstrategy) | unknown | | * `no_translation/development`: unknown<br>* `no_utf8_escaping_with_suffixes/development`: unknown<br>* `underscore_escaping_with_suffixes`: unknown<br>* `underscore_escaping_without_suffixes/development`: unknown<br> |
| [`ExperimentalResourceDetection`](schema-docs.md#experimentalresourcedetection) | unknown | | * `attributes`: unknown<br>* `detectors`: unknown<br> |
| [`ExperimentalResourceDetector`](schema-docs.md#experimentalresourcedetector) | unknown | | * `container`: unknown<br>* `host`: unknown<br>* `process`: unknown<br>* `service`: unknown<br> |
Expand Down Expand Up @@ -590,7 +590,7 @@ Latest supported file format: `1.0.0-rc.2`
| [`ExperimentalOtlpFileMetricExporter`](schema-docs.md#experimentalotlpfilemetricexporter) | supported | | * `default_histogram_aggregation`: not_implemented<br>* `output_stream`: supported<br>* `temporality_preference`: supported<br> |
| [`ExperimentalProbabilitySampler`](schema-docs.md#experimentalprobabilitysampler) | not_implemented | | * `ratio`: not_implemented<br> |
| [`ExperimentalProcessResourceDetector`](schema-docs.md#experimentalprocessresourcedetector) | supported | | |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | not_implemented | | * `host`: not_implemented<br>* `port`: not_implemented<br>* `translation_strategy`: not_implemented<br>* `with_resource_constant_labels`: not_implemented<br>* `without_scope_info`: not_implemented<br>* `without_target_info/development`: not_implemented<br> |
| [`ExperimentalPrometheusMetricExporter`](schema-docs.md#experimentalprometheusmetricexporter) | not_implemented | | * `host`: not_implemented<br>* `port`: not_implemented<br>* `resource_constant_labels`: not_implemented<br>* `scope_info_enabled`: not_implemented<br>* `translation_strategy`: not_implemented<br>* `target_info_enabled/development`: not_implemented<br> |
| [`ExperimentalPrometheusTranslationStrategy`](schema-docs.md#experimentalprometheustranslationstrategy) | not_implemented | | * `no_translation/development`: not_implemented<br>* `no_utf8_escaping_with_suffixes/development`: not_implemented<br>* `underscore_escaping_with_suffixes`: not_implemented<br>* `underscore_escaping_without_suffixes/development`: not_implemented<br> |
| [`ExperimentalResourceDetection`](schema-docs.md#experimentalresourcedetection) | supported | | * `attributes`: supported<br>* `detectors`: supported<br> |
| [`ExperimentalResourceDetector`](schema-docs.md#experimentalresourcedetector) | supported | | * `container`: ignored<br>* `host`: supported<br>* `process`: supported<br>* `service`: supported<br> |
Expand Down
10 changes: 5 additions & 5 deletions opentelemetry_configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -1133,21 +1133,21 @@
],
"description": "Configure port.\nIf omitted or null, 9464 is used.\n"
},
"without_scope_info": {
"scope_info_enabled": {
"type": [
"boolean",
"null"
],
"description": "Configure Prometheus Exporter to produce metrics without scope labels.\nIf omitted or null, false is used.\n"
"description": "Configure Prometheus Exporter to produce metrics with scope labels.\nIf omitted or null, true is used.\n"
},
"without_target_info/development": {
"target_info_enabled/development": {
"type": [
"boolean",
"null"
],
"description": "Configure Prometheus Exporter to produce metrics without a target info metric for the resource.\nIf omitted or null, false is used.\n"
"description": "Configure Prometheus Exporter to produce metrics with a target info metric for the resource.\nIf omitted or null, true is used.\n"
},
"with_resource_constant_labels": {
"resource_constant_labels": {
"$ref": "#/$defs/IncludeExclude",
"description": "Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns.\nIf omitted, no resource attributes are added.\n"
},
Expand Down
30 changes: 15 additions & 15 deletions schema-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ Constraints:

Usages:

* [`ExperimentalPrometheusMetricExporter.with_resource_constant_labels`](#experimentalprometheusmetricexporter)
* [`ExperimentalPrometheusMetricExporter.resource_constant_labels`](#experimentalprometheusmetricexporter)
* [`ViewStream.attribute_keys`](#viewstream)
* [`ExperimentalResourceDetection.attributes`](#experimentalresourcedetection)

Expand Down Expand Up @@ -6374,10 +6374,10 @@ No snippets.
|---|---|---|---|---|---|
| `host` | one of:<br>* `string`<br>* `null`<br> | `false` | If omitted or null, localhost is used. | No constraints. | Configure host.<br> |
| `port` | one of:<br>* `integer`<br>* `null`<br> | `false` | If omitted or null, 9464 is used. | No constraints. | Configure port.<br> |
| `resource_constant_labels` | [`IncludeExclude`](#includeexclude) | `false` | If omitted, no resource attributes are added. | No constraints. | Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns. |
| `scope_info_enabled` | one of:<br>* `boolean`<br>* `null`<br> | `false` | If omitted or null, true is used. | No constraints. | Configure Prometheus Exporter to produce metrics with scope labels.<br> |
| `translation_strategy` | [`ExperimentalPrometheusTranslationStrategy`](#experimentalprometheustranslationstrategy) | `false` | If omitted, underscore_escaping_with_suffixes is used. | No constraints. | Configure how metric names are translated to Prometheus metric names. |
| `with_resource_constant_labels` | [`IncludeExclude`](#includeexclude) | `false` | If omitted, no resource attributes are added. | No constraints. | Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns. |
| `without_scope_info` | one of:<br>* `boolean`<br>* `null`<br> | `false` | If omitted or null, false is used. | No constraints. | Configure Prometheus Exporter to produce metrics without scope labels.<br> |
| `without_target_info/development`<br>**WARNING:** This property is [experimental](VERSIONING.md#experimental-features). | one of:<br>* `boolean`<br>* `null`<br> | `false` | If omitted or null, false is used. | No constraints. | Configure Prometheus Exporter to produce metrics without a target info metric for the resource.<br> |
| `target_info_enabled/development`<br>**WARNING:** This property is [experimental](VERSIONING.md#experimental-features). | one of:<br>* `boolean`<br>* `null`<br> | `false` | If omitted or null, true is used. | No constraints. | Configure Prometheus Exporter to produce metrics with a target info metric for the resource.<br> |

<details>
<summary>Language support status</summary>
Expand All @@ -6386,10 +6386,10 @@ No snippets.
|---|---|---|---|---|---|
| `host` | supported | supported | supported | unknown | not_implemented |
| `port` | supported | supported | supported | unknown | not_implemented |
| `resource_constant_labels` | supported | supported | supported | unknown | not_implemented |
| `scope_info_enabled` | supported | supported | supported | unknown | not_implemented |
| `translation_strategy` | supported | supported | not_implemented | unknown | not_implemented |
| `with_resource_constant_labels` | supported | supported | supported | unknown | not_implemented |
| `without_scope_info` | supported | supported | supported | unknown | not_implemented |
| `without_target_info/development` | supported | supported | supported | unknown | not_implemented |
| `target_info_enabled/development` | supported | supported | supported | unknown | not_implemented |
</details>

Constraints:
Expand All @@ -6409,9 +6409,9 @@ Snippets:
```yaml
host: localhost
port: 9464
without_scope_info: false
without_target_info/development: false
with_resource_constant_labels:
scope_info_enabled: true
target_info_enabled/development: true
resource_constant_labels:
included:
- "service*"
excluded:
Expand Down Expand Up @@ -6445,21 +6445,21 @@ translation_strategy: underscore_escaping_with_suffixes
],
"description": "Configure port.\nIf omitted or null, 9464 is used.\n"
},
"without_scope_info": {
"scope_info_enabled": {
"type": [
"boolean",
"null"
],
"description": "Configure Prometheus Exporter to produce metrics without scope labels.\nIf omitted or null, false is used.\n"
"description": "Configure Prometheus Exporter to produce metrics with scope labels.\nIf omitted or null, true is used.\n"
},
"without_target_info/development": {
"target_info_enabled/development": {
"type": [
"boolean",
"null"
],
"description": "Configure Prometheus Exporter to produce metrics without a target info metric for the resource.\nIf omitted or null, false is used.\n"
"description": "Configure Prometheus Exporter to produce metrics with a target info metric for the resource.\nIf omitted or null, true is used.\n"
},
"with_resource_constant_labels": {
"resource_constant_labels": {
"$ref": "#/$defs/IncludeExclude",
"description": "Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns.\nIf omitted, no resource attributes are added.\n"
},
Expand Down
14 changes: 7 additions & 7 deletions schema/meter_provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,21 +260,21 @@ $defs:
description: |
Configure port.
defaultBehavior: 9464 is used
without_scope_info:
scope_info_enabled:
type:
- boolean
- "null"
description: |
Configure Prometheus Exporter to produce metrics without scope labels.
defaultBehavior: false is used
without_target_info/development:
Configure Prometheus Exporter to produce metrics with scope labels.
defaultBehavior: true is used
target_info_enabled/development:
type:
- boolean
- "null"
description: |
Configure Prometheus Exporter to produce metrics without a target info metric for the resource.
defaultBehavior: false is used
with_resource_constant_labels:
Configure Prometheus Exporter to produce metrics with a target info metric for the resource.
defaultBehavior: true is used
resource_constant_labels:
$ref: common.yaml#/$defs/IncludeExclude
description: Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns.
defaultBehavior: no resource attributes are added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ meter_provider:
# SNIPPET_START
host: localhost
port: 9464
without_scope_info: false
without_target_info/development: false
with_resource_constant_labels:
scope_info_enabled: true
target_info_enabled/development: true
resource_constant_labels:
included:
- "service*"
excluded:
Expand Down
Loading