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
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,11 @@ public static MeterProviderBuilder AddInfluxDBMetricsExporter(this MeterProvider
return builder;
}

private static IMetricsWriter CreateMetricsWriter(MetricsSchema metricsSchema)
private static IMetricsWriter CreateMetricsWriter(MetricsSchema metricsSchema) => metricsSchema switch
{
return metricsSchema switch
{
MetricsSchema.TelegrafPrometheusV2 => new TelegrafPrometheusWriterV2(),
MetricsSchema.TelegrafPrometheusV1 => new TelegrafPrometheusWriterV1(),
MetricsSchema.None => new TelegrafPrometheusWriterV1(),
_ => new TelegrafPrometheusWriterV1(),
};
}
MetricsSchema.TelegrafPrometheusV2 => new TelegrafPrometheusWriterV2(),
MetricsSchema.TelegrafPrometheusV1 => new TelegrafPrometheusWriterV1(),
MetricsSchema.None => new TelegrafPrometheusWriterV1(),
_ => new TelegrafPrometheusWriterV1(),
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
OpenTelemetry.Exporter.Instana.InstanaExporterOptions
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.AgentKey.get -> string!
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.AgentKey.set -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.BatchExportProcessorOptions.get -> OpenTelemetry.BatchExportProcessorOptions<System.Diagnostics.Activity!>!
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.BatchExportProcessorOptions.set -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.EndpointUri.get -> System.Uri!
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.EndpointUri.set -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.HttpClientFactory.get -> System.Func<System.Net.Http.HttpClient!>?
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.HttpClientFactory.set -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.InstanaExporterOptions() -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.ProxyUri.get -> System.Uri?
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.ProxyUri.set -> void
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.UtcNow.get -> System.Func<System.DateTimeOffset>!
OpenTelemetry.Exporter.Instana.InstanaExporterOptions.UtcNow.set -> void
static OpenTelemetry.Exporter.Instana.TracerProviderBuilderExtensions.AddInstanaExporter(this OpenTelemetry.Trace.TracerProviderBuilder! builder, System.Action<OpenTelemetry.Exporter.Instana.InstanaExporterOptions!>? configure = null) -> OpenTelemetry.Trace.TracerProviderBuilder!
13 changes: 13 additions & 0 deletions src/OpenTelemetry.Exporter.Instana/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

## Unreleased

* Add `net8.0` and `net10.0` target frameworks.
([#4153](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4153))

* Add support for configuring the Instana exporter using `InstanaExporterOptions`.
([#4153](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4153))

* **Breaking change**: TLS certificate validation is no longer unconditionally
disabled when a proxy is configured using the `INSTANA_ENDPOINT_PROXY` environment
variable. To restore the previous behaviour and disable TLS certificate validation
use the `InstanaExporterOptions.HttpClientFactory` property to configure a custom
`HttpClient` for the exporter to use.
([#4153](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4153))

## 1.0.7

Released 2026-Apr-21
Expand Down
14 changes: 0 additions & 14 deletions src/OpenTelemetry.Exporter.Instana/IInstanaExporterHelper.cs

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ public void FailedExport(Exception ex)

[Event(1, Message = "Failed to send spans: '{0}'", Level = EventLevel.Error)]
public void FailedExport(string exception)
{
this.WriteEvent(1, exception);
}
=> this.WriteEvent(1, exception);
}
Loading
Loading