Skip to content

[monitor] Make AzureMonitor exporter classes and options public#56344

Merged
mattsains-msft merged 8 commits intoAzure:mainfrom
mattsains-msft:55206
Feb 19, 2026
Merged

[monitor] Make AzureMonitor exporter classes and options public#56344
mattsains-msft merged 8 commits intoAzure:mainfrom
mattsains-msft:55206

Conversation

@mattsains-msft
Copy link
Copy Markdown
Member

@mattsains-msft mattsains-msft commented Feb 19, 2026

Fixes:
#55206
#55012

@github-actions github-actions bot added the Monitor - Exporter Monitor OpenTelemetry Exporter label Feb 19, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 19, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.Monitor.OpenTelemetry.Exporter

@mattsains-msft mattsains-msft changed the title Make exporter classes and options public [monitor] Make AzureMonitor exporter classes and options public Feb 19, 2026
@mattsains-msft mattsains-msft marked this pull request as ready for review February 19, 2026 21:46
Copilot AI review requested due to automatic review settings February 19, 2026 21:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request makes the Azure Monitor exporter classes and configuration options public to address two feature requests. Previously, the AzureMonitorTraceExporter, AzureMonitorMetricExporter, and AzureMonitorLogExporter classes were internal, forcing users to only use extension methods from AzureMonitorExporterExtensions. Additionally, configuration options like EnablePerfCounters and EnableStandardMetrics were internal. Making these public enables users to create custom processor pipelines and control telemetry collection behavior.

Changes:

  • Made three exporter classes public: AzureMonitorTraceExporter, AzureMonitorMetricExporter, and AzureMonitorLogExporter
  • Made two configuration properties public: EnablePerfCounters and EnableStandardMetrics in AzureMonitorExporterOptions
  • Added XML documentation comments to the newly public constructors and classes
  • Updated API listing files for all target frameworks to reflect the new public API surface

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
AzureMonitorTraceExporter.cs Changed class from internal to public, added XML documentation for the class and public constructor
AzureMonitorMetricExporter.cs Changed class from internal to public, added XML documentation for the class and public constructor
AzureMonitorLogExporter.cs Changed class from internal to public, updated class summary documentation
AzureMonitorExporterOptions.cs Changed EnableStandardMetrics and EnablePerfCounters properties from internal to public
Azure.Monitor.OpenTelemetry.Exporter.netstandard2.0.cs Updated API listing to include new public exporter classes and properties
Azure.Monitor.OpenTelemetry.Exporter.netstandard2.0..cs Updated API listing to include new public exporter classes and EnablePerfCounters property (incomplete)
Azure.Monitor.OpenTelemetry.Exporter.net8.0.cs Updated API listing to include new public exporter classes and properties
Azure.Monitor.OpenTelemetry.Exporter.net10.0.cs Updated API listing to include new public exporter classes and properties

This was referenced Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Monitor - Exporter Monitor OpenTelemetry Exporter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants