Replies: 1 comment 1 reply
-
It might be worth calling out the behavior when one exporter fails and another succeeds.
This makes me think "core" batching should be the de facto minimum, whereas downstream exporters can only batch more than this, not less? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
At the moment Rotel supports a single exporter, we would like to expand support for multiple exporters. This will also allow you to emit different telemetry types when a given exporter may only support a single type (e.g AWS X-Ray).
Goals
Non-goals
Requirements
Configuration
Existing configuration
Generally the existing exporter configuration works like the following. We should still support this model of configuration for now.
Expanded Configuration
Say I have the following exporter configuration I’d like to support:
Define the named exporters and their types:
Setting exporter properties per exporter:
Connecting exporters to pipelines:
Metrics would not be connected and hence we would not accept metrics at the receiver.
Simplified form
In a simplified case, if there is only one exporter of a given type, you can elide the custom name. In that scenario, the name is the same as the exporter type.
For example, given Clickhouse and Datadog exporter destinations the following configuration would be allowed:
ROTEL_EXPORTERS=clickhouse,datadog ROTEL_EXPORTER_CLICKHOUSE_ENDPOINT=https://prod.clickhouse.cloud ROTEL_EXPORTER_CLICKHOUSE_DATABASE="otel_prod" ROTEL_EXPORTER_DATADOG_REGION=us1 ROTEL_EXPORTERS_TRACES=datadog,clickhouse ROTEL_EXPORTERS_LOGS=clickhouse
Configuration caveats
ROTEL_EXPORTERS
andROTEL_EXPORTER
would not be supported togetherROTEL_EXPORTERS
requires at least one ofROTEL_EXPORTERS_<TRACES|METRICS|LOGS>
to be set. All unset telemetry types would default to the “no listeners” setting, thereby dropping traffic.[a-z0-9]
.ROTEL_EXPORTERS_LOGS
would be an error during initialization.Next steps
clap
crate.Beta Was this translation helpful? Give feedback.
All reactions