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

Telemetry #1921

Closed
JoblersTune opened this issue Sep 19, 2023 · 1 comment
Closed

Telemetry #1921

JoblersTune opened this issue Sep 19, 2023 · 1 comment
Assignees
Labels
story Major feature that can be broken up into smaller tasks type: telemetry flow ax0n
Milestone

Comments

@JoblersTune
Copy link
Collaborator

JoblersTune commented Sep 19, 2023

Aim

  • Provide telemetry for the network
  • Enabled by default

Desired metrics

  • Total money [per time frame] taken from packet data
  • Average money [per time frame] taken from packet data
  • Amount of transactions taken from outgoing payments that have been at least partially successful (i.e. some value in the send amount)

Basic setup

  • Rafiki will include the OpenTelemetry SDK to generate metrics, and contextual information
  • Using the sidecar pattern with an OpenTelemetry Collector to gather metrics
  • Will need the option to enable/disable metric collection
  • This functionality will be included within the Rafiki repo
  • Using Prometheus for storing, and querying metrics (using the counter primitive)
  • Using Grafana for creating dashboards and visualizing metrics
  • Running Prometheus and Grafana in containers managed on AWS

Integration

  • Rafiki code base needs to expose the desired metrics as HTTP endpoints
  • Configure the OpenTelemetry Collector to gather the metrics from Rafiki
  • Configure Prometheus to scrape metrics from the OpenTelemetry Collector (uses a pull-based approach)
  • In Grafana, you'll configure Prometheus as a data source (can use PromQL to write queries against the data collected by Prometheus.)

Linked Issues:

@JoblersTune
Copy link
Collaborator Author

AWS access key and secret for the open collector user are stored in 1Password

@sabineschaller sabineschaller added the story Major feature that can be broken up into smaller tasks label Oct 3, 2023
@sabineschaller sabineschaller added this to the v1.0.0-alpha.4 milestone Oct 3, 2023
@sabineschaller sabineschaller moved this to Q4 2023 in High Level Roadmap Oct 3, 2023
@mkurapov mkurapov moved this from Q4 2023 to Q1 2024 in High Level Roadmap Feb 13, 2024
@sabineschaller sabineschaller moved this from Backlog to In Progress in Rafiki Feb 19, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Rafiki Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Major feature that can be broken up into smaller tasks type: telemetry flow ax0n
Projects
Status: Q1 2024
Archived in project
Development

No branches or pull requests

4 participants