Skip to content

Commit e2611d9

Browse files
cormahChrsMark
andcommitted
[chore] Add display names to encoder extensions (open-telemetry#45647)
**Description** Uses the new [display_name](open-telemetry/opentelemetry-collector#14115) and description metadata fields for components. Related to open-telemetry/opentelemetry-collector#14114 and open-telemetry/opentelemetry-collector#14400 Continuation from open-telemetry#45537 open-telemetry#45554 open-telemetry#45599 I did not include the skywalking extension because I am handling that in a separate PR due to it having a missing doc file --------- Co-authored-by: Christos Markou <[email protected]>
1 parent 388338c commit e2611d9

File tree

20 files changed

+79
-39
lines changed

20 files changed

+79
-39
lines changed

extension/encoding/avrologencodingextension/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# AVRO Log encoding extension
2-
31
<!-- status autogenerated section -->
2+
# AVRO Log Encoding Extension
3+
4+
The `avrolog` encoding extension is used to unmarshal AVRO and insert it into the body of a log record. Marshalling is not supported.
5+
6+
47
| Status | |
58
| ------------- |-----------|
69
| Stability | [development] |
@@ -11,8 +14,6 @@
1114
[development]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#development
1215
<!-- end autogenerated section -->
1316

14-
The `avrolog` encoding extension is used to unmarshal AVRO and insert it into the body of a log record. Marshalling is not supported.
15-
1617
The extension accepts a configuration option to specify the Avro schema to use to read the log record body.
1718

1819
Example:

extension/encoding/avrologencodingextension/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
display_name: AVRO Log Encoding Extension
12
type: avro_log_encoding
23

4+
description: >
5+
The `avrolog` encoding extension is used to unmarshal AVRO and insert it into the body of a log record. Marshalling
6+
is not supported.
7+
38
status:
49
disable_codecov_badge: true
510
class: extension

extension/encoding/awscloudwatchmetricstreamsencodingextension/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# AWS CloudWatch Metric streams encoding extension
2-
31
<!-- status autogenerated section -->
2+
# AWS CloudWatch Metric Streams Encoding Extension
3+
4+
This extension unmarshalls metrics encoded in formats produced by [Amazon CloudWatch Metric Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html).
5+
6+
47
| Status | |
58
| ------------- |-----------|
69
| Stability | [alpha] |
@@ -12,9 +15,6 @@
1215
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
1316
<!-- end autogenerated section -->
1417

15-
This extension unmarshals metrics encoded in formats produced by
16-
[Amazon CloudWatch Metric Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html).
17-
1818
The extension can be configured to unmarshal metrics in either the JSON or OpenTelemetry 1.0.0 output formats.
1919
At this time the OpenTelemetry 0.7.0 output format is unsupported, there are no plans to add support for it.
2020

extension/encoding/awscloudwatchmetricstreamsencodingextension/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
display_name: AWS CloudWatch Metric Streams Encoding Extension
12
type: awscloudwatchmetricstreams_encoding
23

4+
description: >
5+
This extension unmarshalls metrics encoded in formats produced by
6+
[Amazon CloudWatch Metric Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html).
7+
38
status:
49
disable_codecov_badge: true
510
class: extension

extension/encoding/awslogsencodingextension/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# AWS Logs encoding extension
2-
31
<!-- status autogenerated section -->
2+
# AWS Logs Encoding Extension
3+
4+
This extension unmarshalls logs encoded in formats produced by AWS services.
5+
46
| Status | |
57
| ------------- |-----------|
68
| Stability | [alpha] |

extension/encoding/awslogsencodingextension/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
display_name: AWS Logs Encoding Extension
12
type: awslogs_encoding
23

4+
description: This extension unmarshalls logs encoded in formats produced by AWS services.
5+
36
status:
47
disable_codecov_badge: true
58
class: extension

extension/encoding/azureencodingextension/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# Azure Logs/Traces/Metrics encoding extension
21
<!-- status autogenerated section -->
2+
# Azure Logs/Traces/Metrics Encoding Extension
3+
4+
This extension is designed for unmarshaling logs/traces/metrics encoded in specific format produced by [Azure Diagnostic Settings Export](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings) or [Azure Data Collection Rules (DCRs)](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview)
5+
6+
37
| Status | |
48
| ------------- |-----------|
59
| Stability | [development] |
@@ -10,12 +14,6 @@
1014
[development]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#development
1115
<!-- end autogenerated section -->
1216

13-
## Overview
14-
15-
This extension is designed for unmarshaling logs/traces/metrics encoded in specific format
16-
produced by [Azure Diagnostic Settings Export](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings) or
17-
[Azure Data Collection Rules (DCRs)](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview)
18-
1917
### Configuration
2018

2119
This Encoding extension has set of configuration options for each type of telemetry signals,
@@ -36,7 +34,7 @@ This extension supports auto-detection and parsing of the following formats:
3634
Currently supported following Azure Metrics export formats:
3735

3836
* export via Diagnostic Settings ([multi-dimensional metrics are not supported](https://learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings?tabs=portal#metrics-limitations))
39-
* export via Data Collection Rules (DCRs) ([dimensions and metric filtering are supported](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-metrics))
37+
* export via Data Collection Rules (DCRs) ([dimensions and metric filtering are supported](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview))
4038

4139
***time_formats (Optional)***
4240

extension/encoding/azureencodingextension/metadata.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
display_name: Azure Logs/Traces/Metrics Encoding Extension
12
type: azure_encoding
23

4+
description: >
5+
This extension is designed for unmarshaling logs/traces/metrics encoded in specific format
6+
produced by [Azure Diagnostic Settings Export](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings) or
7+
[Azure Data Collection Rules (DCRs)](https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview)
8+
39
status:
410
disable_codecov_badge: true
511
class: extension

extension/encoding/googlecloudlogentryencodingextension/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Google Cloud LogEntry encoding extension
2-
31
<!-- status autogenerated section -->
2+
# Google Cloud LogEntry Encoding Extension
3+
4+
This extension can be used to unmarshall a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) message type.
5+
6+
47
| Status | |
58
| ------------- |-----------|
69
| Stability | [alpha] |
@@ -13,7 +16,7 @@
1316
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
1417
<!-- end autogenerated section -->
1518

16-
This extension can be used to unmarshall a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) message type. The extension expects each log to take up 1 line, and it will decode as many logs as log lines received.
19+
The extension expects each log to take up 1 line, and it will decode as many logs as log lines received.
1720

1821
Currently, this extension [can parse the following logs](#supported-log-types) into log record attributes:
1922

extension/encoding/googlecloudlogentryencodingextension/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
display_name: Google Cloud LogEntry Encoding Extension
12
type: googlecloudlogentry_encoding
23

4+
description: >
5+
This extension can be used to unmarshall a
6+
[Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) message type.
7+
38
status:
49
disable_codecov_badge: true
510
class: extension

0 commit comments

Comments
 (0)