k8ssandra / k8ssandra-operator

The Kubernetes operator for K8ssandra
https://k8ssandra.io/
Apache License 2.0
174 stars 79 forks source link

MedusaBackupJob metrics is not available in Prometheus #1417

Open saranya-nallasamy opened 1 month ago

saranya-nallasamy commented 1 month ago

Hi Team,

We are not able to view the Prometheus metrics for medusa container in the cluster. Looks like it is enabled only for cassandra and reaper containers.

Our need is to enable grafana or kibana notifications on unfinished Cassandra backup everyday. Since Prometheus enablement is not available for medusa container, we are not able to take the output of it and send notifications.

And on elk stack, elastic search is not receiving logs of medusa container and below is the few lines of configuration.

type tail id in_tail_container_logs path /var/log/containers/*.log exclude_path ["/var/log/containers/istio.log", "/var/log/containers/fluentd.log"] pos_file /opt/bitnami/fluentd/logs/buffers/fluentd-docker.pos

Kindly help us on this or suggest us how to enable notification for unfinished Cassandra backups.

Thanks.

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: K8OP-260

adejanovski commented 1 month ago

We don't expose Medusa metrics yet. That's definitely something we need to address in the server mode with a Prometheus endpoint.