Skip to content

Feat: client side metrics testing #1902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 118 commits into
base: main
Choose a base branch
from
Draft

Conversation

milaGGL
Copy link
Contributor

@milaGGL milaGGL commented Oct 24, 2024

  • Remove built-in metric EndToEndLatency and the MonitoredStreamResponseObserver class
  • Add resource attributes to be mapped to GCM monitored resource
  • Shutdown the metric reader when close/shutdown the firestore instance
  • Re-factor the telemetry constants
  • Add E2E integration tests against Google Cloud Monitoring and run against kightly only
  • Add E2E tests with InMemoryMetricReader
  • Add unit tests

throw error;
}
}

class MonitoredStreamResponseObserver implements ApiStreamObserver<RunQueryResponse> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

since E2Elatency is removed, it does not make sense to have a class just to record first response latency: https://github.com/googleapis/java-firestore/pull/1840/files#r1809028150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/java-firestore API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants