Skip to content

Releases: thorstenalpers/OpenTelemetryExtension.Configuration

OpenTelemetryExtension.Configuration 2.1.0

12 Jun 18:30
c80984a

Choose a tag to compare

v2.1.0

Released: 2026-06-12

Added

  • net8.0 target framework. The library now ships netstandard2.0, net8.0
    and net10.0 assets. .NET 8 (LTS) consumers previously resolved the
    netstandard2.0 asset, which excludes ASP.NET Core instrumentation and the
    ExcludedPaths request filter; they now get full feature parity with
    net10.0. .NET 9 apps resolve the net8.0 asset.

OpenTelemetryExtension.Configuration 2.0.1

12 Jun 17:31
e38526b

Choose a tag to compare

v2.0.1

Released: 2026-06-12

Changed

  • Updated OpenTelemetry.Exporter.OpenTelemetryProtocol and
    OpenTelemetry.Extensions.Hosting to 1.16.0.

Fixed

  • OTLP signal URLs no longer contain a double slash when the endpoint has no
    path: http://localhost:4318 now exports to http://localhost:4318/v1/traces
    instead of http://localhost:4318//v1/traces.
  • The service.version resource attribute now reports the host application's
    version (entry assembly) instead of the library's own version.
  • AddTelemetry(Action<TelemetryOptions>) now throws the documented
    ArgumentNullException instead of a NullReferenceException when the
    configure delegate is null.

OpenTelemetryExtension.Configuration 2.0.0

10 Jun 20:41
c75e65f

Choose a tag to compare

v2.0.0

Released: 2026-06-10

Added

  • AdditionalTracingSources — extra ActivitySource names to collect traces from, registered via AddSource. Enables source-based instrumentation (e.g. Npgsql, MySqlConnector, your own app sources) purely from appsettings.json — no code required.
  • AdditionalMeters — extra Meter names to collect metrics from, registered via AddMeter.
  • Custom configuration section — the AddTelemetry(IConfiguration) overloads accept an optional sectionName parameter to bind a section other than the default "Telemetry".

Changed

  • Enabled now defaults to true — telemetry is on out of the box; set "Enabled": false to turn it off.
  • The netstandard2.0 build no longer pulls in ASP.NET Core dependenciesOpenTelemetry.Instrumentation.AspNetCore is only referenced by the net10.0 target, so WPF and console consumers stay lean.
  • The local OpenObserve backend setups (Helm chart, Docker Compose) ship with a fixed Basic Auth header so the README examples work copy-paste.
  • Updated all NuGet dependencies to their latest versions.

Removed

  • EnableSqlClientInstrumentation and the built-in OpenTelemetry.Instrumentation.SqlClient dependency. Database instrumentation is driver-specific and is now added via the ConfigureTracing hook (e.g. AddSqlClientInstrumentation(), AddEntityFrameworkCoreInstrumentation()) or, for drivers with a built-in ActivitySource, via AdditionalTracingSources — see the README's Databases section for migration examples.

OpenTelemetryExtension.Configuration 1.1.1

06 Jun 22:06
be0280e

Choose a tag to compare

v1.1.1

Maintenance release — documentation, infrastructure and tooling only. No changes
to the library code or public API.

Documentation

  • README restructured for clarity — full configuration reference and external
    links moved to the end, backend docs trimmed to Aspire, Jaeger and OpenObserve.
  • Added an explanation of the Configure* hooks, Meters and Sources, with
    examples and links to the OpenTelemetry and Microsoft docs.
  • Added "Running Locally with a Backend" guide (start script → launch profile → UI)
    and backend UI preview images.

Infrastructure

  • Added .NET Aspire Dashboard setup for both Docker Compose and Helm (with
    NodePort services), and registered the infrastructure files in the solution.

Tooling

  • Replaced the release command with an auto-release skill (helper scripts and
    a release-notes template).
  • Added an end-to-end telemetry smoke-test (Helm + OpenObserve) that verifies
    exported data actually arrives via the OpenObserve query API.

OpenTelemetryExtension.Configuration 1.1.0

06 Jun 18:48
dcf9d24

Choose a tag to compare

v1.1.0

New Features

  • SampleRatio — configure trace sampling via appsettings.json (1.0 = all, 0.1 = 10%). Uses ParentBased(TraceIdRatioBased) sampler.
  • ResourceAttributes — add arbitrary OpenTelemetry resource attributes (e.g. team, region) via appsettings.json.
  • ExcludedPaths — replaces ExcludeHealthChecks. Accepts a list of paths to exclude from tracing (default: ["/health"]).
  • IncludeScopes — controls whether log scopes are included in exported log records (default: true).
  • IncludeFormattedMessage — controls whether the formatted log message is included in exported log records (default: true).

Changes

  • EnableSqlClientInstrumentation default changed from true to false — opt-in, as not all applications use SQL.
  • ExcludeHealthChecks removed — replaced by the more flexible ExcludedPaths.

Improvements

  • README rewritten for clarity — cleaner getting started, expanded backend examples.
  • TreatWarningsAsErrors enabled across all projects.
  • CI now also runs on pull requests.
  • GitHub Actions: replaced deprecated actions/create-release@v1 with softprops/action-gh-release@v2.
  • RepositoryType, PackageReleaseNotes and dynamic copyright added to NuGet package metadata.

OpenTelemetryExtension.Configuration 1.0.2

01 Jun 17:12
3352ef9

Choose a tag to compare

What's Changed

v1.0.2

What's Changed

  • Added multi-targeting support for netstandard2.0 and net8.0
  • Improved compatibility across modern and legacy .NET applications
  • Updated package metadata and build configuration

OpenTelemetryExtension.Configuration 1.0.1

28 May 19:45
8be18c1

Choose a tag to compare

What's Changed

v1.0.1

What's Changed

  • Improved NuGet package description
  • Updated package tags

OpenTelemetryExtension.Configuration 1.0.0

28 May 19:32
bb4e5ed

Choose a tag to compare

What's Changed

v1.0.0

What's Changed

  • Added AddTelemetry() extension supporting both IConfiguration and Action<TelemetryOptions> registration
  • Added TelemetryOptions with full appsettings.json support and XML documentation
  • Tracing, metrics and logging configurable independently via EnableTracing, EnableMetrics, EnableLogging
  • ASP.NET Core, HttpClient, SqlClient and runtime instrumentation with individual opt-in flags
  • OTLP endpoint path handling fixed: /v1/traces|metrics|logs only appended for HttpProtobuf, not for Grpc
  • ConfigureTracing, ConfigureMetrics, ConfigureLogging callbacks for custom instrumentation (e.g. MySQL, Redis)
  • Health check endpoints excludable from tracing via ExcludeHealthChecks