Skip to content

Export aggregated OTLP client operation metrics - #52

Open
sfc-gh-dan wants to merge 1 commit into
snowflakedb:mainfrom
sfc-gh-dan:dan/otlp-aggregated-metrics
Open

sfc-gh-dan wants to merge 1 commit into
snowflakedb:mainfrom
sfc-gh-dan:dan/otlp-aggregated-metrics

Conversation

@sfc-gh-dan

Copy link
Copy Markdown
Contributor

Summary

  • aggregate client operation success and failure outcomes and export delta counters/histograms to the OTLP /v1/metrics endpoint
  • keep dimensions bounded to operation and outcome while preserving detailed failure logs and opt-in success diagnostic logs
  • attach installed package version and client surface as resource attributes and send a versioned User-Agent
  • derive the public package version from installed distribution metadata and document metric names and success semantics

This replaces per-success log volume with periodic aggregates while keeping the existing failure evidence needed for debugging.

Testing

  • 503 tests passed: .venv/bin/python -m pytest tests/ -q

@snowflake-security-bot snowflake-security-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Snowflake Security Review

Security grade: A — Passed

This PR was classified as LOW risk by the automated pre-screen.

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.

1 participant