Skip to content

Instantly share code, notes, and snippets.

@Smithx10
Created August 24, 2017 16:21
Show Gist options
  • Save Smithx10/9cebb54a7d7821c831d0b47ea960c747 to your computer and use it in GitHub Desktop.
Save Smithx10/9cebb54a7d7821c831d0b47ea960c747 to your computer and use it in GitHub Desktop.
master
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0
go_gc_duration_seconds_sum 0
go_gc_duration_seconds_count 0
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 13
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.6.3"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 2.856912e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 2.856912e+06
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.442967e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 1686
# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
# TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 0
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 163840
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 2.856912e+06
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 1.130496e+06
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 3.653632e+06
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 11795
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 0
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 4.784128e+06
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 0
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 42
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 13481
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 4800
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 16384
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 27240
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 32768
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 4.194304e+06
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 1.332321e+06
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 458752
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 458752
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 8.23116e+06
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 8
# HELP http_request_duration_microseconds The HTTP request latencies in microseconds.
# TYPE http_request_duration_microseconds summary
http_request_duration_microseconds{handler="prometheus",quantile="0.5"} NaN
http_request_duration_microseconds{handler="prometheus",quantile="0.9"} NaN
http_request_duration_microseconds{handler="prometheus",quantile="0.99"} NaN
http_request_duration_microseconds_sum{handler="prometheus"} 32163.686
http_request_duration_microseconds_count{handler="prometheus"} 1
# HELP http_request_size_bytes The HTTP request sizes in bytes.
# TYPE http_request_size_bytes summary
http_request_size_bytes{handler="prometheus",quantile="0.5"} NaN
http_request_size_bytes{handler="prometheus",quantile="0.9"} NaN
http_request_size_bytes{handler="prometheus",quantile="0.99"} NaN
http_request_size_bytes_sum{handler="prometheus"} 1374
http_request_size_bytes_count{handler="prometheus"} 1
# HELP http_requests_total Total number of HTTP requests made.
# TYPE http_requests_total counter
http_requests_total{code="200",handler="prometheus",method="get"} 1
# HELP http_response_size_bytes The HTTP response sizes in bytes.
# TYPE http_response_size_bytes summary
http_response_size_bytes{handler="prometheus",quantile="0.5"} NaN
http_response_size_bytes{handler="prometheus",quantile="0.9"} NaN
http_response_size_bytes{handler="prometheus",quantile="0.99"} NaN
http_response_size_bytes_sum{handler="prometheus"} 3167
http_response_size_bytes_count{handler="prometheus"} 1
# HELP mesos_collector_errors_total Total number of internal mesos-collector errors.
# TYPE mesos_collector_errors_total counter
mesos_collector_errors_total 0
# HELP mesos_master_cpus Current CPU resources in cluster.
# TYPE mesos_master_cpus gauge
mesos_master_cpus{type="free"} 26.5
mesos_master_cpus{type="used"} 9.5
# HELP mesos_master_cpus_revocable Current revocable CPU resources in cluster.
# TYPE mesos_master_cpus_revocable gauge
mesos_master_cpus_revocable{type="free"} 0
mesos_master_cpus_revocable{type="used"} 0
# HELP mesos_master_disk Current disk resources in cluster.
# TYPE mesos_master_disk gauge
mesos_master_disk{type="free"} 482264
mesos_master_disk{type="used"} 20480
# HELP mesos_master_disk_revocable Current disk resources in cluster.
# TYPE mesos_master_disk_revocable gauge
mesos_master_disk_revocable{type="free"} 0
mesos_master_disk_revocable{type="used"} 0
# HELP mesos_master_elected 1 if master is elected leader, 0 if not
# TYPE mesos_master_elected gauge
mesos_master_elected 1
# HELP mesos_master_event_queue_length Current number of elements in event queue by type
# TYPE mesos_master_event_queue_length gauge
mesos_master_event_queue_length{type="dispatches"} 24
mesos_master_event_queue_length{type="http_request"} 0
mesos_master_event_queue_length{type="message"} 0
# HELP mesos_master_frameworks_state Current number of frames known to the master per connection and registration state.
# TYPE mesos_master_frameworks_state gauge
mesos_master_frameworks_state{connection_state="connected",registration_state="active"} 5
mesos_master_frameworks_state{connection_state="connected",registration_state="inactive"} 0
mesos_master_frameworks_state{connection_state="disconnected",registration_state="inactive"} 0
# HELP mesos_master_mem Current memory resources in cluster.
# TYPE mesos_master_mem gauge
mesos_master_mem{type="free"} 57863
mesos_master_mem{type="used"} 19456
# HELP mesos_master_mem_revocable Current revocable memory resources in cluster.
# TYPE mesos_master_mem_revocable gauge
mesos_master_mem_revocable{type="free"} 0
mesos_master_mem_revocable{type="used"} 0
# HELP mesos_master_messages_outcomes_total Total number of messages by outcome of operation and direction.
# TYPE mesos_master_messages_outcomes_total counter
mesos_master_messages_outcomes_total{destination="executor",outcome="invalid",source="framework",type=""} 0
mesos_master_messages_outcomes_total{destination="executor",outcome="valid",source="framework",type=""} 0
mesos_master_messages_outcomes_total{destination="framework",outcome="invalid",source="executor",type=""} 0
mesos_master_messages_outcomes_total{destination="framework",outcome="invalid",source="slave",type="status_update"} 0
mesos_master_messages_outcomes_total{destination="framework",outcome="valid",source="executor",type=""} 0
mesos_master_messages_outcomes_total{destination="framework",outcome="valid",source="slave",type="status_update"} 17
mesos_master_messages_outcomes_total{destination="slave",outcome="invalid",source="framework",type="status_update"} 0
mesos_master_messages_outcomes_total{destination="slave",outcome="valid",source="framework",type="status_update"} 17
# HELP mesos_master_offers_pending Current number of offers made by the master which aren't yet accepted or declined by frameworks.
# TYPE mesos_master_offers_pending gauge
mesos_master_offers_pending 0
# HELP mesos_master_slave_registration_events_total Total number of registration events on this master since it booted.
# TYPE mesos_master_slave_registration_events_total counter
mesos_master_slave_registration_events_total{event="register"} 3
mesos_master_slave_registration_events_total{event="reregister"} 0
# HELP mesos_master_slave_removal_events_total Total number of removal events on this master since it booted.
# TYPE mesos_master_slave_removal_events_total counter
mesos_master_slave_removal_events_total{event="canceled"} 0
mesos_master_slave_removal_events_total{event="completed"} 0
mesos_master_slave_removal_events_total{event="died"} 3
mesos_master_slave_removal_events_total{event="scheduled"} 0
# HELP mesos_master_slaves_state Current number of slaves known to the master per connection and registration state.
# TYPE mesos_master_slaves_state gauge
mesos_master_slaves_state{connection_state="connected",registration_state="active"} 3
mesos_master_slaves_state{connection_state="connected",registration_state="inactive"} 0
mesos_master_slaves_state{connection_state="disconnected",registration_state="inactive"} 0
# HELP mesos_master_state_store_seconds Registry write latency in seconds
# TYPE mesos_master_state_store_seconds histogram
mesos_master_state_store_seconds_bucket{le="0.005"} 0
mesos_master_state_store_seconds_bucket{le="0.01"} 0
mesos_master_state_store_seconds_bucket{le="0.025"} 0
mesos_master_state_store_seconds_bucket{le="0.05"} 0
mesos_master_state_store_seconds_bucket{le="0.1"} 0
mesos_master_state_store_seconds_bucket{le="0.25"} 0
mesos_master_state_store_seconds_bucket{le="0.5"} 0
mesos_master_state_store_seconds_bucket{le="1"} 0
mesos_master_state_store_seconds_bucket{le="2.5"} 0
mesos_master_state_store_seconds_bucket{le="5"} 0
mesos_master_state_store_seconds_bucket{le="10"} 0
mesos_master_state_store_seconds_bucket{le="+Inf"} 0
mesos_master_state_store_seconds_sum 0
mesos_master_state_store_seconds_count 0
# HELP mesos_master_task_states_current Current number of tasks by state.
# TYPE mesos_master_task_states_current counter
mesos_master_task_states_current{state="running"} 7
mesos_master_task_states_current{state="staging"} 0
mesos_master_task_states_current{state="starting"} 0
# HELP mesos_master_task_states_exit_total Total number of tasks processed by exit state.
# TYPE mesos_master_task_states_exit_total counter
mesos_master_task_states_exit_total{state="errored"} 0
mesos_master_task_states_exit_total{state="failed"} 4
mesos_master_task_states_exit_total{state="finished"} 0
mesos_master_task_states_exit_total{state="killed"} 0
mesos_master_task_states_exit_total{state="lost"} 0
# HELP mesos_master_uptime_seconds Number of seconds the master process is running.
# TYPE mesos_master_uptime_seconds gauge
mesos_master_uptime_seconds 164999.158138112
# HELP mesos_slave_cpus Total slave CPUs (fractional)
# TYPE mesos_slave_cpus gauge
mesos_slave_cpus{slave="slave(1)@192.168.100.137:5051"} 12
mesos_slave_cpus{slave="slave(1)@192.168.100.147:5051"} 12
mesos_slave_cpus{slave="slave(1)@192.168.100.185:5051"} 12
# HELP mesos_slave_cpus_unreserved Unreserved slave CPUs (fractional)
# TYPE mesos_slave_cpus_unreserved gauge
mesos_slave_cpus_unreserved{slave="slave(1)@192.168.100.137:5051"} 9
mesos_slave_cpus_unreserved{slave="slave(1)@192.168.100.147:5051"} 0
mesos_slave_cpus_unreserved{slave="slave(1)@192.168.100.185:5051"} 9
# HELP mesos_slave_cpus_used Used slave CPUs (fractional)
# TYPE mesos_slave_cpus_used gauge
mesos_slave_cpus_used{slave="slave(1)@192.168.100.137:5051"} 4.5
mesos_slave_cpus_used{slave="slave(1)@192.168.100.147:5051"} 2
mesos_slave_cpus_used{slave="slave(1)@192.168.100.185:5051"} 3
# HELP mesos_slave_disk_bytes Total slave disk space in bytes
# TYPE mesos_slave_disk_bytes gauge
mesos_slave_disk_bytes{slave="slave(1)@192.168.100.137:5051"} 2.06007296e+08
mesos_slave_disk_bytes{slave="slave(1)@192.168.100.147:5051"} 1.02795264e+08
mesos_slave_disk_bytes{slave="slave(1)@192.168.100.185:5051"} 2.06007296e+08
# HELP mesos_slave_disk_unreserved_bytes Unreserved slave disk in bytes
# TYPE mesos_slave_disk_unreserved_bytes gauge
mesos_slave_disk_unreserved_bytes{slave="slave(1)@192.168.100.137:5051"} 1.90401536e+08
mesos_slave_disk_unreserved_bytes{slave="slave(1)@192.168.100.147:5051"} 0
mesos_slave_disk_unreserved_bytes{slave="slave(1)@192.168.100.185:5051"} 1.90401536e+08
# HELP mesos_slave_disk_used_bytes Used slave disk space in bytes
# TYPE mesos_slave_disk_used_bytes gauge
mesos_slave_disk_used_bytes{slave="slave(1)@192.168.100.137:5051"} 1.048576e+07
mesos_slave_disk_used_bytes{slave="slave(1)@192.168.100.147:5051"} 0
mesos_slave_disk_used_bytes{slave="slave(1)@192.168.100.185:5051"} 1.048576e+07
# HELP mesos_slave_mem_bytes Total slave memory in bytes
# TYPE mesos_slave_mem_bytes gauge
mesos_slave_mem_bytes{slave="slave(1)@192.168.100.137:5051"} 3.1896576e+07
mesos_slave_mem_bytes{slave="slave(1)@192.168.100.147:5051"} 1.5381504e+07
mesos_slave_mem_bytes{slave="slave(1)@192.168.100.185:5051"} 3.1896576e+07
# HELP mesos_slave_mem_unreserved_bytes Unreserved slave memory in bytes
# TYPE mesos_slave_mem_unreserved_bytes gauge
mesos_slave_mem_unreserved_bytes{slave="slave(1)@192.168.100.137:5051"} 2.298368e+07
mesos_slave_mem_unreserved_bytes{slave="slave(1)@192.168.100.147:5051"} 0
mesos_slave_mem_unreserved_bytes{slave="slave(1)@192.168.100.185:5051"} 2.298368e+07
# HELP mesos_slave_mem_used_bytes Used slave memory in bytes
# TYPE mesos_slave_mem_used_bytes gauge
mesos_slave_mem_used_bytes{slave="slave(1)@192.168.100.137:5051"} 1.048576e+07
mesos_slave_mem_used_bytes{slave="slave(1)@192.168.100.147:5051"} 2.097152e+06
mesos_slave_mem_used_bytes{slave="slave(1)@192.168.100.185:5051"} 7.340032e+06
# HELP mesos_slave_ports Total slave ports
# TYPE mesos_slave_ports gauge
mesos_slave_ports{slave="slave(1)@192.168.100.137:5051"} 30969
mesos_slave_ports{slave="slave(1)@192.168.100.147:5051"} 31998
mesos_slave_ports{slave="slave(1)@192.168.100.185:5051"} 30969
# HELP mesos_slave_ports_unreserved Unreserved slave ports
# TYPE mesos_slave_ports_unreserved gauge
mesos_slave_ports_unreserved{slave="slave(1)@192.168.100.137:5051"} 30961
mesos_slave_ports_unreserved{slave="slave(1)@192.168.100.147:5051"} 0
mesos_slave_ports_unreserved{slave="slave(1)@192.168.100.185:5051"} 30961
# HELP mesos_slave_ports_used Used slave ports
# TYPE mesos_slave_ports_used gauge
mesos_slave_ports_used{slave="slave(1)@192.168.100.137:5051"} 12
mesos_slave_ports_used{slave="slave(1)@192.168.100.147:5051"} 105
mesos_slave_ports_used{slave="slave(1)@192.168.100.185:5051"} 10
# HELP mesos_slave_task_state_time Completed framework tasks
# TYPE mesos_slave_task_state_time gauge
mesos_slave_task_state_time{executor="",framework="ab779030-8907-42d9-a113-669a1e426e13-0001",name="gitlab",slave="gitlab.16e15a63-876a-11e7-9870-4a055ed765b9",state="TASK_FAILED",task="a4b87809-f6dd-4b8c-8c99-86ebfae08956-S1"} 1.50342767520996e+09
mesos_slave_task_state_time{executor="",framework="ab779030-8907-42d9-a113-669a1e426e13-0001",name="spark",slave="spark.5a10ca85-88d9-11e7-9870-4a055ed765b9",state="TASK_FAILED",task="a4b87809-f6dd-4b8c-8c99-86ebfae08956-S1"} 1.50358540304923e+09
mesos_slave_task_state_time{executor="node-0_executor__f83b4c87-0e1e-4360-aa6f-9783e3718adc",framework="ecef6abb-70b8-48f5-a1bd-5afc624b160d-0002",name="node-0-task-template",slave="node-0-task-template__4ca762fd-3862-47c7-b80d-784db5904238",state="TASK_FAILED",task="a4b87809-f6dd-4b8c-8c99-86ebfae08956-S0"} 1.50342639717083e+09
mesos_slave_task_state_time{executor="node-1_executor__abe37142-31b2-490c-ae2a-1d44cd1e2bce",framework="ecef6abb-70b8-48f5-a1bd-5afc624b160d-0002",name="node-1-task-template",slave="node-1-task-template__37bb146a-77bd-44e4-83ca-877bf1483d3a",state="TASK_FAILED",task="a4b87809-f6dd-4b8c-8c99-86ebfae08956-S1"} 1.50342695503089e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.05
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 11
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 1.28e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.50358948451e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 2.06901248e+08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment