Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/dynatrace] add multi-instance deployment note to README.md #8848

Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
### 💡 Enhancements 💡

- `k8seventsreceiver`: Add Api_version and resource_version (#8539)
- `dynatraceexporter`: add multi-instance deployment note to README.md (#8848)

### 🛑 Breaking changes 🛑

Expand Down
23 changes: 23 additions & 0 deletions exporter/dynatraceexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ The Dynatrace exporter is enabled by adding a `dynatrace` entry to the `exporter
All configurations are optional, but if an `endpoint` other than the OneAgent metric ingestion endpoint is specified then an `api_token` is required.
To see all available options, see [Advanced Configuration](#advanced-configuration) below.

> When using this exporter, it is strongly RECOMMENDED to configure the OpenTelemetry SDKs to export metrics
> with DELTA temporality. If you are exporting Sum or Histogram metrics with CUMULATIVE temporality, read
> about possible limitations of this exporter [below](#considerations-when-exporting-cumulative-data-points).

### Running alongside Dynatrace OneAgent (preferred)

If you run the Collector on a host or VM that is monitored by the Dynatrace OneAgent then you only need to enable the exporter. No further configurations needed. The Dynatrace exporter will send all metrics to the OneAgent which will use its secure and load balanced connection to send the metrics to your Dynatrace SaaS or Managed environment.
Expand Down Expand Up @@ -249,3 +253,22 @@ Default: `5000`
### tags (Deprecated, Optional)

**Deprecated: Please use [default_dimensions](#default_dimensions-optional) instead**

# Considerations when exporting Cumulative Data Points

When receiving Sum or Histogram metrics with CUMULATIVE temporality, this exporter
performs CUMULATIVE to DELTA conversion. This conversion can lead to missing
or inconsistent data, as described below:

## First Data Points are dropped

Due to the conversion, the exporter will drop the first received data point,
as there is no previous data point to compare it to. This can be circumvented
by configuring the OpenTelemetry SDK to export DELTA values.

## Multi-instance collector deployment

In a multiple-instance deployment of the OpenTelemetry Collector, the conversion
can produce inconsistent data unless it can be guaranteed that metrics from the
same source are processed by the same collector instance. This can be circumvented
by configuring the OpenTelemetry SDK to export DELTA values.