However there doesn’t seem to be any documentation on how to implement it.
I tried in jvb.conf setting prometheus to enabled
rest {
debug {
enabled = true
}
health {
enabled = true
}
shutdown {
# Note that the shutdown API requires the COLIBRI API to also be enabled.
enabled = false
}
drain {
enabled = true
}
version {
enabled = true
}
prometheus {
enabled = true
}
}
But when I restart both services I see in the jvb log:
JVB 2022-12-12 19:28:15.794 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime: A provider org.jitsi.rest.prometheus.Prometheus registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.rest.prometheus.Prometheus will be ignored
What are these “constraint configuration problems” and how do I enable prometheus without having to use any of the exporters floating around in the threads here?
Edit: Are you getting actual results? In my testing I am able to query the endpoint but it seems to always return all fields with 0…
{“partially_failed_conferences_total”:0,“ice_failed_total”:0,“dominant_speaker_changes_total”:0,“current_visitors”:0,“endpoints_dtls_failed_total”:0,“layering_changes_received_total”:0,“data_channel_messages_sent_total”:0,“relays_total”:0,“endpoints_reconnected_total”:0,“ice_succeeded_total”:0,“data_channel_messages_received_total”:0,“preemptive_keyframe_requests_sent_total”:0,“relays_no_message_transport_after_delay_total”:0,“endpoints_disconnected_total”:0,“relay_packets_received_total”:0,“endpoints_total”:0,“conferences”:0,“preemptive_keyframe_requests_suppressed_total”:0,“ice_succeeded_tcp_total”:0,“local_endpoints”:0,“relay_packets_sent_total”:0,“visitors_total”:0,“conferences_completed_total”:0,“packets_sent_total”:0,“incoming_bitrate_expirations_total”:0,“colibri_web_socket_messages_sent_total”:0,“ice_succeeded_relayed_total”:0,“conferences_created_total”:0,“failed_conferences_total”:0,“healthy”:true,“colibri_web_socket_messages_received_total”:0,“packets_received_total”:0,“keyframes_received_total”:0,* Connection #0 to host 127.0.0.1 left intact
“endpoints_no_message_transport_after_delay_total”:0}