-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added README file for otel. README is dynamically re-generated when dependencies are changed. mage otelReadme will parse dependencies and regenerate output file. command is also part of mage update or mage check
- Loading branch information
1 parent
8f2f5db
commit 3a3d31c
Showing
3 changed files
with
237 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Elastic Distribution for OpenTelemetry Collector | ||
|
||
This is an Elastic supported distribution of the [OpenTelemetry Collector](https://github.com/open-telemetry/opentelemetry-collector). | ||
|
||
## Running the Elastic Distribution for OpenTelemetry Collector | ||
|
||
To run the Elastic Distribution for OpenTelemetry Collector you can use Elastic-Agent binary downloaded for your OS and architecture. | ||
Running command | ||
|
||
```bash | ||
./elastic-agent -c otel.yml run | ||
``` | ||
|
||
from unpacked Elastic Agent package will run Elastic-Agent as an OpenTelemetry Collector. The `-c` flag needs to point to [OpenTelemetry Collector Configuration file](https://opentelemetry.io/docs/collector/configuration/) named `otel`, `otlp` or `otelcol`. | ||
Both `yaml` and `yml` suffixes are supported. | ||
|
||
> In case this condition is not met, Elastic Agent will run in its default mode and will not behave as OpenTelemetry Collector. | ||
Note that `validate` subcommand and [feature gates](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md#controlling-gates) are not supported yet. | ||
|
||
## Components | ||
|
||
This section provides a summary of components included in the Elastic Distribution for OpenTelemetry Collector. | ||
|
||
|
||
### Receivers | ||
|
||
| Component | Version | | ||
|---|---| | ||
| filelogreceiver | v0.89.0| | ||
| otlpreceiver | v0.89.0| | ||
|
||
|
||
|
||
|
||
### Exporters | ||
|
||
| Component | Version | | ||
|---|---| | ||
| fileexporter | v0.89.0| | ||
| debugexporter | v0.89.0| | ||
| otlpexporter | v0.89.0| | ||
|
||
|
||
|
||
|
||
### Processors | ||
|
||
| Component | Version | | ||
|---|---| | ||
| attributesprocessor | v0.89.0| | ||
| resourceprocessor | v0.89.0| | ||
| transformprocessor | v0.89.0| | ||
| batchprocessor | v0.89.0| | ||
| memorylimiterprocessor | v0.89.0| | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Elastic Distribution for OpenTelemetry Collector | ||
|
||
This is an Elastic supported distribution of the [OpenTelemetry Collector](https://github.com/open-telemetry/opentelemetry-collector). | ||
|
||
## Running the Elastic Distribution for OpenTelemetry Collector | ||
|
||
To run the Elastic Distribution for OpenTelemetry Collector you can use Elastic-Agent binary downloaded for your OS and architecture. | ||
Running command | ||
|
||
```bash | ||
./elastic-agent -c otel.yml run | ||
``` | ||
|
||
from unpacked Elastic Agent package will run Elastic-Agent as an OpenTelemetry Collector. The `-c` flag needs to point to [OpenTelemetry Collector Configuration file](https://opentelemetry.io/docs/collector/configuration/) named `otel`, `otlp` or `otelcol`. | ||
Both `yaml` and `yml` suffixes are supported. | ||
|
||
> In case this condition is not met, Elastic Agent will run in its default mode and will not behave as OpenTelemetry Collector. | ||
|
||
Note that `validate` subcommand and [feature gates](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md#controlling-gates) are not supported yet. | ||
|
||
## Components | ||
|
||
This section provides a summary of components included in the Elastic Distribution for OpenTelemetry Collector. | ||
|
||
{{ if .Receivers }} | ||
### Receivers | ||
|
||
| Component | Version | | ||
|---|---| | ||
{{ range .Receivers }}| {{ .Name }} | {{ .Version -}} | | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Exporters }} | ||
### Exporters | ||
|
||
| Component | Version | | ||
|---|---| | ||
{{ range .Exporters }}| {{ .Name }} | {{ .Version -}} | | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Processors }} | ||
### Processors | ||
|
||
| Component | Version | | ||
|---|---| | ||
{{ range .Processors }}| {{ .Name }} | {{ .Version -}} | | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ if .Extensions }} | ||
### Extensions | ||
|
||
| Component | Version | | ||
|---|---| | ||
{{ range .Extensions }}| {{ .Name }} | {{ .Version -}} | | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters