-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Description
Hi - Im running prometheus-cpp v0.12.3 with gcc version 8.2.0 (GCC). My app works fine on my unix machine, but when I run under kubernetes the web endpoint doesnt get written completely. Here's an example:
# HELP exposer_transferred_bytes_total Transferred bytes to metrics services
# TYPE exposer_transferred_bytes_total counter
exposer_transferred_bytes_total 7568
# HELP exposer_scrapes_total Number of times metrics were scraped
# TYPE exposer_scrapes_total counter
exposer_scrapes_total 37
# HELP exposer_request_latencies Latencies of serving scrape requests, in microseconds
# TYPE exposer_request_latencies summary
exposer_request_latencies_count
I also see the same partial write of my stats if I curl to the metrics endpoint from within the k8 pod.
Here's my pull endpoint when running outside k8:
# HELP exposer_transferred_bytes_total Transferred bytes to metrics services
# TYPE exposer_transferred_bytes_total counter
exposer_transferred_bytes_total 572
# HELP exposer_scrapes_total Number of times metrics were scraped
# TYPE exposer_scrapes_total counter
exposer_scrapes_total 1
# HELP exposer_request_latencies Latencies of serving scrape requests, in microseconds
# TYPE exposer_request_latencies summary
exposer_request_latencies_count 1
exposer_request_latencies_sum 4124
exposer_request_latencies{quantile="0.5"} 4124
exposer_request_latencies{quantile="0.9"} 4124
exposer_request_latencies{quantile="0.99"} 4124
# HELP total_ticks total ticks processed since start
# TYPE total_ticks counter
total_ticks{partition="2"} 9020
total_ticks{partition="3"} 9205
total_ticks{partition="1"} 8045
total_ticks{partition="0"} 8454
# HELP active_symbols active symbols in memory since flush
# TYPE active_symbols gauge
active_symbols{aaa="bbbb",ccc="ddd",partition="3"} 403
active_symbols{aaa="bbbb",ccc="ddd",partition="1"} 436
active_symbols{aaa="bbbb",ccc="ddd",partition="2"} 413
active_symbols{aaa="bbbb",ccc="ddd",partition="0"} 411
# HELP unique_symbols_written unique symbol count since start
# TYPE unique_symbols_written gauge
unique_symbols_written{partition="2"} 1662
unique_symbols_written{partition="3"} 1641
unique_symbols_written{partition="1"} 1661
unique_symbols_written{partition="0"} 1663
# HELP overall_message_latency end to end message latency
# TYPE overall_message_latency gauge
overall_message_latency{partition="2"} 611226227622370
overall_message_latency{partition="3"} 609943666622385
overall_message_latency{partition="1"} 607062113622370
overall_message_latency{partition="0"} 605046497622355
# HELP input_message_latency arctic native processing time
# TYPE input_message_latency gauge
input_message_latency{partition="2"} 0
input_message_latency{partition="3"} 0
input_message_latency{partition="1"} 0
input_message_latency{partition="0"} 999985
Have you seen anything like this?
Metadata
Metadata
Assignees
Labels
No labels