You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to put OpenDJ metrics into CloudWatch. OpenDJ has a prometheus exporter, so this app felt like a good fit. I tried it and got the following message before the application exits.
$ prometheus-to-cloudwatch -cloudwatch_publish_timeout 5 -prometheus_scrape_interval 60 -prometheus_scrape_url http://localhost:8080/metrics/prometheus -cloudwatch_namespace OpenDJ -cloudwatch_region us-east-2
2021/03/13 11:15:11 prometheus-to-cloudwatch: Starting prometheus-to-cloudwatch bridge
2021/03/13 11:16:11 reading text format failed: text format parsing error in line 79: second HELP line for metric name "ds_backend_entry_count"
Here's a snippet from http://localhost:8080/metrics/prometheus. The fourth line in this snippet is line 79 in the payload.
# HELP ds_backend_ttl_thread_count Number of active time-to-live threads
# TYPE ds_backend_ttl_thread_count gauge
ds_backend_ttl_thread_count{backend="userRoot",type="db",} 0.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="__config.ldif__",base_dn="cn=config",type="local",} 188.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="__config.ldif__",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="adminRoot",base_dn="cn=admin data",type="local",} 8.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="adminRoot",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="ads-truststore",base_dn="cn=ads-truststore",type="local",} 3.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="ads-truststore",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="backup",base_dn="cn=backups",type="local",} 1.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="backup",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="monitor",base_dn="cn=monitor",type="local",} 36.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="monitor",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="rootUser",base_dn="cn=Directory Manager",type="local",} 1.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="rootUser",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="schema",base_dn="cn=schema",type="local",} 1.0
# HELP ds_backend_is_private Whether the base DNs of this backend should be considered public or private
# TYPE ds_backend_is_private gauge
ds_backend_is_private{backend="schema",type="local",} 1.0
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
This also appears around line 45:
# HELP ds_backend_entry_count Number of subordinate entries of the base DN, including the base DN
# TYPE ds_backend_entry_count gauge
ds_backend_entry_count{backend="userRoot",base_dn="dc=movies,dc=tv",type="db",} 0.0
The text was updated successfully, but these errors were encountered:
@davidnewhall hey David, which version of opendj were you running? I'm tinkering with latest 4.7.0 and it doesn't have prometheus option in http endpoints
Hello,
I'm trying to put OpenDJ metrics into CloudWatch. OpenDJ has a prometheus exporter, so this app felt like a good fit. I tried it and got the following message before the application exits.
Here's a snippet from
http://localhost:8080/metrics/prometheus
. The fourth line in this snippet is line 79 in the payload.This also appears around line 45:
The text was updated successfully, but these errors were encountered: