Skip to content

Conversation

@rajkumar-rangaraj
Copy link
Member

Problem

Calling telemetryClient.TrackMetric(new MetricTelemetry(...)) produces a spurious warning:

2026-01-08T01:36:15.9979653Z:Track was called with an unsupported telemetry type: {0}. Only RequestTelemetry, DependencyTelemetry, TraceTelemetry, EventTelemetry, and ExceptionTelemetry are supported.{MetricTelemetry}{BasicConsoleApp} - This is an interesting one, do you know what you did to log this message

Solution

Removed the redundant this.Track(telemetry) call from TrackMetric(MetricTelemetry).

Copilot AI review requested due to automatic review settings January 8, 2026 03:12
Copy link
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@rajkumar-rangaraj rajkumar-rangaraj merged commit 2fb9530 into main Jan 8, 2026
22 checks passed
@rajkumar-rangaraj rajkumar-rangaraj deleted the rajrang/tcinAspCore branch January 8, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants