Skip to content

Conversation

stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Jul 17, 2024

Overview

The enterprise edition of the PowerSync self hosting Docker image supports custom telemetry integrations via configurable additional OTLP endpoints.

A telemetry integration has been added to the NodeJS demo.

This adds a OTLP collector which exports metrics to Prometheus. Prometheus is used as a data source in Grafana to visualize telemetry.

The Grafana dashboard should be accessible at http://localhost:3121 after following the instructions in the NodeJS readme file. The Telemetry dashboard contains various telemetry in panels.

image

Caveats

The opentelemetry, prometheus and grafana config files reference each other's service config and ports quite often. This makes it tricky to configure with one source of trueth environment variable file.

Todos

The metrics panels in the dashboard currently use very simple queries which only show the instantaneous values of meters and counters. Better queries with aggregations and other improved logic should still be implemented.

@guillempuche
Copy link

Oh yeah!

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