Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

feiskyer
Copy link
Member

Add telemetry and OTLP traces.

@gossion gossion requested a review from Copilot August 11, 2025 09:48
@gossion
Copy link
Member

gossion commented Aug 11, 2025

this is very cool

Copy link
Contributor

@Copilot 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 PR adds comprehensive telemetry support to the AKS MCP service, enabling the collection of operational data through OpenTelemetry Protocol (OTLP) traces and Azure Application Insights. The telemetry system tracks tool invocations and service startup events while providing privacy controls through environment variable configuration.

Key changes include:

  • Implementation of a telemetry service with support for OTLP traces and Application Insights
  • Integration of telemetry tracking into existing tool handlers
  • Configuration options for telemetry providers and privacy controls

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
internal/telemetry/service.go Core telemetry service implementation with OTLP and Application Insights support
internal/telemetry/config.go Telemetry configuration management with privacy controls
internal/telemetry/config_test.go Comprehensive test coverage for telemetry configuration
internal/tools/handler.go Integration of telemetry tracking into tool invocation handlers
internal/config/config.go Addition of telemetry initialization and OTLP endpoint configuration
cmd/aks-mcp/main.go Main application integration with graceful telemetry shutdown
go.mod Addition of required telemetry dependencies
README.md Documentation of telemetry features and privacy controls

internal/telemetry/config.go Outdated Show resolved Hide resolved
internal/telemetry/service.go Show resolved Hide resolved
@gossion
Copy link
Member

gossion commented Aug 12, 2025

lgtm

@gossion gossion merged commit f384351 into main Aug 12, 2025
9 checks passed
@gossion gossion deleted the telemetry branch August 12, 2025 01:17
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.