mercedes-benz / kosmoo

A prometheus exporter which exposes metrics about PersistentVolumes and OpenStack
MIT License
38 stars 9 forks source link

expose listener metrics #137

Open schreibergeorg opened 11 months ago

schreibergeorg commented 11 months ago

this pr exposes the listener metrics: id, name, port, protocol and the assigned loadbalancer_id

# HELP kos_listener_status Listener status
# TYPE kos_listener_status gauge
kos_listener_status{id="0",loadbalancer_id="1",name="k8s-clusterapi-cluster-kubeapi-6443",port="TCP",protocol="6443",status="ACTIVE"} 1
kos_listener_status{id="0",loadbalancer_id="1",name="k8s-clusterapi-cluster-kubeapi-6443",port="TCP",protocol="6443",status="ERROR"} 0
kos_listener_status{id="0",loadbalancer_id="1",name="k8s-clusterapi-cluster-kubeapi-6443",port="TCP",protocol="6443",status="PENDING_CREATE"} 0
kos_listener_status{id="0",loadbalancer_id="1",name="k8s-clusterapi-cluster-kubeapi-6443",port="TCP",protocol="6443",status="PENDING_DELETE"} 0
kos_listener_status{id="0",loadbalancer_id="1",name="k8s-clusterapi-cluster-kubeapi-6443",port="TCP",protocol="6443",status="PENDING_UPDATE"} 0

Georg Schreiber, georg.g.schreiber@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH

Provider Information