Skip to content

Prometheus /metrics endpoint #17

@filippocrotti12

Description

@filippocrotti12

/metrics endpoint doesn't exists.

Fix: Add github.com/prometheus/client_golang, expose /metrics (with optiona auth).
File: new server/internal/metrics/metrics.go + server/internal/api/router.go

Minimum metrics to be added:

  • arkeep_jobs_total{status="success|failed|running"} — counter
  • arkeep_job_duration_seconds — histogram
  • arkeep_agents_connected — gauge
  • arkeep_backup_bytes_deduplicated_total — counter

Metadata

Metadata

Labels

enhancementNew feature or requestserverIn server folder

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions