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

[Recovery] Metrics #1783

Closed
Tracked by #1777
lovromazgon opened this issue Aug 14, 2024 · 0 comments · Fixed by #1828
Closed
Tracked by #1777

[Recovery] Metrics #1783

lovromazgon opened this issue Aug 14, 2024 · 0 comments · Fixed by #1828
Assignees

Comments

@lovromazgon
Copy link
Member

Add metrics regarding pipeline recovery:

  • conduit_pipeline_status should be a gauge that's set every time a pipeline is created and every time its status changes. The gauge value should always be set to 1. When the pipeline gets deleted, the gauge with the corresponding pipeline_name should be deleted. It should contain two labels:
    • status holds the status of the pipeline (e.g. running, stopped, degraded, recovering)
    • pipeline_name holds the pipeline name (note that we use the pipeline name, because the API generates a random pipeline ID, the user is only in charge of the pipeline name, this might change in the future)
  • pipeline_recovering_count should be a counter which is created and set to 0 when a pipeline is created. The counter should increase every time the recovery mechanism is triggered (before the backoff retry starts waiting). It should contain one label:
    • pipeline_name holds the pipeline name
@hariso hariso self-assigned this Sep 3, 2024
@hariso hariso moved this from Todo to In Progress in Conduit Main Sep 3, 2024
@hariso hariso mentioned this issue Sep 4, 2024
4 tasks
@hariso hariso moved this from In Progress to In Review in Conduit Main Sep 4, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Conduit Main Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants