Skip to content
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

[Feature] Enable additional metrics endpoints #40

Closed
wants to merge 2 commits into from

Conversation

stevensJourney
Copy link
Collaborator

Overview

We currently have the functionality to capture various metrics throughout the service. These metrics are anonymously pushed to our OLTP service if configured.

This PR allows users to specify additional OLTP endpoints for metrics to be exported to.

Additional endpoints can be specified in the config YAML file, e.g.:

telemetry:
  # Opt out of reporting anonymized usage metrics to PowerSync telemetry service
  disable_telemetry_sharing: true
  additional_endpoints:
    - url: http://localhost:4318/v1/metrics
    # Optionally configure the export interval - defaults to 5 minutes
      export_interval_ms: 10000 # 10 seconds

Copy link

changeset-bot bot commented Jul 17, 2024

🦋 Changeset detected

Latest commit: c6142ac

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@powersync/service-core Minor
@powersync/service-types Minor
@powersync/service-image Minor
@powersync/service-jpgwire Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@stevensJourney
Copy link
Collaborator Author

Closing this for later

@rkistner rkistner deleted the chore/enable-metrics branch July 17, 2024 13:11
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