Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inputs.prometheus] 406 Not Acceptable returned from prometheus style metrics endpoint #6523

Closed
00Asgaroth00 opened this issue Oct 14, 2019 · 10 comments · Fixed by #6745
Closed
Assignees
Labels
area/prometheus bug unexpected problem or unintended behavior
Milestone

Comments

@00Asgaroth00
Copy link

Relevant telegraf.conf:

[global_tags]
  org = "test_org"
  country = "test_country"
  dc = "test_dc"

[agent]
  interval = "10s"
  round_interval = true
  metric_batch_size = 1000
  metric_buffer_limit = 10000
  collection_jitter = "5s"
  flush_interval = "10s"
  flush_jitter = "0s"
  precision = "s"
  debug = true
  quiet = false
#  logfile = "/dev/null"
  hostname = "test_host"
  omit_hostname = false

[[outputs.file]]
  files = [ "stdout" ]
  data_format = "influx"

[[inputs.prometheus]]
  urls = [ "http://10.6.0.249:15692/metrics" ]

System info:

OS: CentOS 7
Telegraf 1.11.3 (git: HEAD d6024fd)

Steps to reproduce:

[1] Startup a RabbitMQ 3.8.0 server and enable the rabbitmq_prometheus plugin
[2] Configure telegraf prometheus input plugin to scrape the rabbitmq metrics endpoint

Expected behavior:

A successful scrape

Actual behavior:

The rabbitmq_prometheus plugin endpoint responds with a 406 Not Acceptable response.
A sample http trace is below:

Request (Telegraf Prometheus Input Plugin):

T 2019/10/14 12:25:02.854993 10.6.0.227:38254 -> 10.6.0.249:15692 [AP]
GET /metrics HTTP/1.1
Host: 10.6.0.249:15692
User-Agent: Go-http-client/1.1
Accept: application/vnd.google.protobuf;proto=io.prometheus.client.MetricFamily;encoding=delimited;q=0.7,text/plain;version=0.0.4;q=0.3
Accept-Encoding: gzip
Connection: close

Response (RMQ /metrics endpoint)

T 2019/10/14 12:25:02.856160 10.6.0.249:15692 -> 10.6.0.227:38254 [AP]
HTTP/1.1 406 Not Acceptable
connection: close
content-length: 0
date: Mon, 14 Oct 2019 11:25:02 GMT
server: Cowboy

The logs from the telegraf client are as follows:

2019-10-14T11:25:02Z E! [inputs.prometheus]: Error in plugin: http://10.6.0.249:15692/metrics returned HTTP status 406 Not Acceptable
2019-10-14T11:25:10Z D! [outputs.file] buffer fullness: 0 / 10000 metrics. 
2019-10-14T11:25:14Z E! [inputs.prometheus]: Error in plugin: http://10.6.0.249:15692/metrics returned HTTP status 406 Not Acceptable
2019-10-14T11:25:20Z D! [outputs.file] buffer fullness: 0 / 10000 metrics. 
2019-10-14T11:25:20Z E! [inputs.prometheus]: Error in plugin: http://10.6.0.249:15692/metrics returned HTTP status 406 Not Acceptable
2019-10-14T11:25:30Z D! [outputs.file] buffer fullness: 0 / 10000 metrics. 

Additional info:

I initially opened up a bug on the rabbitmq-promethues github repository, however, this was subsequently closed stating that the [[inputs.prometheus]] plugin should support Prometheus v2.x exposition formats

Please could we check if the above is indeed supported in the prometheus inputs plugin.

If you require any additional information from me please dont hesitate to ask.

@danielnelson
Copy link
Contributor

Thanks for opening this bug, from the Accept header it appears that we are asking for either protobuf or the text format:

text/plain;version=0.0.4;q=0.3

I'm not sure the history behind asking for ;q=0.3, perhaps this is preventing a match from occuring. Could you try these queries to rabbitmq-prometheus and let us know the response code:

curl -H "Accept:text/plain;version=0.0.4;q=0.3" "http://10.6.0.249:15692/metrics"
curl -H "Accept:text/plain;version=0.0.4" "http://10.6.0.249:15692/metrics"

@danielnelson danielnelson added area/prometheus bug unexpected problem or unintended behavior labels Oct 14, 2019
@00Asgaroth00
Copy link
Author

I still get 406 response for those two queries:

# curl -v -H "Accept:text/plain;version=0.0.4;q=0.3" "http://10.6.0.249:15692/metrics"
* About to connect() to 10.6.0.249 port 15692 (#0)
*   Trying 10.6.0.249... connected
* Connected to 10.6.0.249 (10.6.0.249) port 15692 (#0)
> GET /metrics HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.6.0.249:15692
> Accept:text/plain;version=0.0.4;q=0.3
> 
< HTTP/1.1 406 Not Acceptable
< content-length: 0
< date: Tue, 15 Oct 2019 08:16:14 GMT
< server: Cowboy
< 
* Connection #0 to host 10.6.0.249 left intact
* Closing connection #0
# curl -v -H "Accept:text/plain;version=0.0.4" "http://10.6.0.249:15692/metrics"
* About to connect() to 10.6.0.249 port 15692 (#0)
*   Trying 10.6.0.249... connected
* Connected to 10.6.0.249 (10.6.0.249) port 15692 (#0)
> GET /metrics HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.6.0.249:15692
> Accept:text/plain;version=0.0.4
> 
< HTTP/1.1 406 Not Acceptable
< content-length: 0
< date: Tue, 15 Oct 2019 08:16:34 GMT
< server: Cowboy
< 
* Connection #0 to host 10.6.0.249 left intact
* Closing connection #0

However, the following call works:

# curl -v -H "Accept:text/plain" "http://10.6.0.249:15692/metrics"              
* About to connect() to 10.6.0.249 port 15692 (#0)
*   Trying 10.6.0.249... connected
* Connected to 10.6.0.249 (10.6.0.249) port 15692 (#0)
> GET /metrics HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.6.0.249:15692
> Accept:text/plain
> 
< HTTP/1.1 200 OK
< content-encoding: identity
< content-length: 50230
< content-type: text/plain; version=0.0.4
< date: Tue, 15 Oct 2019 08:16:47 GMT
< server: Cowboy
< 
# TYPE erlang_mnesia_held_locks gauge
# HELP erlang_mnesia_held_locks Number of held locks.
erlang_mnesia_held_locks 0
# TYPE erlang_mnesia_lock_queue gauge
# HELP erlang_mnesia_lock_queue Number of transactions waiting for a lock.
erlang_mnesia_lock_queue 0
# TYPE erlang_mnesia_transaction_participants gauge
# HELP erlang_mnesia_transaction_participants Number of participant transactions.
erlang_mnesia_transaction_participants 0
# TYPE erlang_mnesia_transaction_coordinators gauge
# HELP erlang_mnesia_transaction_coordinators Number of coordinator transactions.
erlang_mnesia_transaction_coordinators 0
# TYPE erlang_mnesia_failed_transactions counter
# HELP erlang_mnesia_failed_transactions Number of failed (i.e. aborted) transactions.
erlang_mnesia_failed_transactions 7
# TYPE erlang_mnesia_committed_transactions counter
# HELP erlang_mnesia_committed_transactions Number of committed transactions.
erlang_mnesia_committed_transactions 4011
# TYPE erlang_mnesia_logged_transactions counter
# HELP erlang_mnesia_logged_transactions Number of transactions logged.
erlang_mnesia_logged_transactions 870
# TYPE erlang_mnesia_restarted_transactions counter
# HELP erlang_mnesia_restarted_transactions Total number of transaction restarts.
erlang_mnesia_restarted_transactions 0
# TYPE rabbitmq_channel_consumers gauge
# HELP rabbitmq_channel_consumers Consumers on a channel
# TYPE rabbitmq_channel_messages_unacked gauge
# HELP rabbitmq_channel_messages_unacked Delivered but not yet acknowledged messages
# TYPE rabbitmq_channel_messages_unconfirmed gauge
# HELP rabbitmq_channel_messages_unconfirmed Published but not yet confirmed messages
# TYPE rabbitmq_channel_messages_uncommitted gauge
# HELP rabbitmq_channel_messages_uncommitted Messages received in a transaction but not yet committed
# TYPE rabbitmq_channel_acks_uncommitted gauge
# HELP rabbitmq_channel_acks_uncommitted Message acknowledgements in a transaction not yet committed
# TYPE rabbitmq_consumer_prefetch gauge
# HELP rabbitmq_consumer_prefetch Limit of unacknowledged messages for each consumer
# TYPE rabbitmq_channel_prefetch gauge
# HELP rabbitmq_channel_prefetch Total limit of unacknowledged messages for all consumers on a channel
# TYPE rabbitmq_channel_messages_published_total counter
# HELP rabbitmq_channel_messages_published_total Total number of messages published into an exchange on a channel
# TYPE rabbitmq_channel_messages_confirmed_total counter
# HELP rabbitmq_channel_messages_confirmed_total Total number of messages published into an exchange and confirmed on the channel
# TYPE rabbitmq_channel_messages_unroutable_returned_total counter
# HELP rabbitmq_channel_messages_unroutable_returned_total Total number of messages published as mandatory into an exchange and returned to the publisher as unroutable
# TYPE rabbitmq_channel_messages_unroutable_dropped_total counter
# HELP rabbitmq_channel_messages_unroutable_dropped_total Total number of messages published as non-mandatory into an exchange and dropped as unroutable
# TYPE rabbitmq_channel_process_reductions_total counter
# HELP rabbitmq_channel_process_reductions_total Total number of channel process reductions
# TYPE rabbitmq_channel_get_ack_total counter
# HELP rabbitmq_channel_get_ack_total Total number of messages fetched with basic.get in manual acknowledgement mode
# TYPE rabbitmq_channel_get_total counter
# HELP rabbitmq_channel_get_total Total number of messages fetched with basic.get in automatic acknowledgement mode
# TYPE rabbitmq_channel_messages_delivered_ack_total counter
# HELP rabbitmq_channel_messages_delivered_ack_total Total number of messages delivered to consumers in manual acknowledgement mode
# TYPE rabbitmq_channel_messages_delivered_total counter
# HELP rabbitmq_channel_messages_delivered_total Total number of messages delivered to consumers in automatic acknowledgement mode
# TYPE rabbitmq_channel_messages_redelivered_total counter
# HELP rabbitmq_channel_messages_redelivered_total Total number of messages redelivered to consumers
# TYPE rabbitmq_channel_messages_acked_total counter
# HELP rabbitmq_channel_messages_acked_total Total number of messages acknowledged by consumers
# TYPE rabbitmq_channel_get_empty_total counter
# HELP rabbitmq_channel_get_empty_total Total number of times basic.get operations fetched no message
# TYPE rabbitmq_connections_opened_total counter
# HELP rabbitmq_connections_opened_total Total number of connections opened
rabbitmq_connections_opened_total 2
# TYPE rabbitmq_connections_closed_total counter
# HELP rabbitmq_connections_closed_total Total number of connections closed or terminated
rabbitmq_connections_closed_total 2
# TYPE rabbitmq_channels_opened_total counter
# HELP rabbitmq_channels_opened_total Total number of channels opened
rabbitmq_channels_opened_total 100
# TYPE rabbitmq_channels_closed_total counter
# HELP rabbitmq_channels_closed_total Total number of channels closed
rabbitmq_channels_closed_total 100
# TYPE rabbitmq_queues_declared_total counter
# HELP rabbitmq_queues_declared_total Total number of queues declared
rabbitmq_queues_declared_total 50
# TYPE rabbitmq_queues_created_total counter
# HELP rabbitmq_queues_created_total Total number of queues created
rabbitmq_queues_created_total 50
# TYPE rabbitmq_queues_deleted_total counter
# HELP rabbitmq_queues_deleted_total Total number of queues deleted
rabbitmq_queues_deleted_total 50
# TYPE rabbitmq_connection_incoming_bytes_total counter
# HELP rabbitmq_connection_incoming_bytes_total Total number of bytes received on a connection
# TYPE rabbitmq_connection_outgoing_bytes_total counter
# HELP rabbitmq_connection_outgoing_bytes_total Total number of bytes sent on a connection
# TYPE rabbitmq_connection_process_reductions_total counter
# HELP rabbitmq_connection_process_reductions_total Total number of connection process reductions
# TYPE rabbitmq_connection_incoming_packets_total counter
# HELP rabbitmq_connection_incoming_packets_total Total number of packets received on a connection
# TYPE rabbitmq_connection_outgoing_packets_total counter
# HELP rabbitmq_connection_outgoing_packets_total Total number of packets sent on a connection
# TYPE rabbitmq_connection_pending_packets gauge
# HELP rabbitmq_connection_pending_packets Number of packets waiting to be sent on a connection
# TYPE rabbitmq_connection_channels gauge
# HELP rabbitmq_connection_channels Channels on a connection
# TYPE rabbitmq_queue_messages_published_total counter
# HELP rabbitmq_queue_messages_published_total Total number of messages published to queues
# TYPE rabbitmq_process_open_fds gauge
# HELP rabbitmq_process_open_fds Open file descriptors
rabbitmq_process_open_fds 47
# TYPE rabbitmq_process_open_tcp_sockets gauge
# HELP rabbitmq_process_open_tcp_sockets Open TCP sockets
rabbitmq_process_open_tcp_sockets 0
# TYPE rabbitmq_process_resident_memory_bytes gauge
# HELP rabbitmq_process_resident_memory_bytes Memory used in bytes
rabbitmq_process_resident_memory_bytes 98598912
# TYPE rabbitmq_disk_space_available_bytes gauge
# HELP rabbitmq_disk_space_available_bytes Disk space available in bytes
rabbitmq_disk_space_available_bytes 3489456128
# TYPE rabbitmq_erlang_processes_used gauge
# HELP rabbitmq_erlang_processes_used Erlang processes used
rabbitmq_erlang_processes_used 599
# TYPE rabbitmq_erlang_gc_runs_total counter
# HELP rabbitmq_erlang_gc_runs_total Total number of Erlang garbage collector runs
rabbitmq_erlang_gc_runs_total 11665148
# TYPE rabbitmq_erlang_gc_reclaimed_bytes_total counter
# HELP rabbitmq_erlang_gc_reclaimed_bytes_total Total number of bytes of memory reclaimed by Erlang garbage collector
rabbitmq_erlang_gc_reclaimed_bytes_total 172333700248
# TYPE rabbitmq_erlang_scheduler_context_switches_total counter
# HELP rabbitmq_erlang_scheduler_context_switches_total Total number of Erlang scheduler context switches
rabbitmq_erlang_scheduler_context_switches_total 45894721
# TYPE rabbitmq_process_max_fds gauge
# HELP rabbitmq_process_max_fds Open file descriptors limit
rabbitmq_process_max_fds 65536
# TYPE rabbitmq_process_max_tcp_sockets gauge
# HELP rabbitmq_process_max_tcp_sockets Open TCP sockets limit
rabbitmq_process_max_tcp_sockets 58890
# TYPE rabbitmq_resident_memory_limit_bytes gauge
# HELP rabbitmq_resident_memory_limit_bytes Memory high watermark in bytes
rabbitmq_resident_memory_limit_bytes 1272249876
# TYPE rabbitmq_disk_space_available_limit_bytes gauge
# HELP rabbitmq_disk_space_available_limit_bytes Free disk space low watermark in bytes
rabbitmq_disk_space_available_limit_bytes 200000000
# TYPE rabbitmq_erlang_processes_limit gauge
# HELP rabbitmq_erlang_processes_limit Erlang processes limit
rabbitmq_erlang_processes_limit 1048576
# TYPE rabbitmq_erlang_scheduler_run_queue gauge
# HELP rabbitmq_erlang_scheduler_run_queue Erlang scheduler run queue
rabbitmq_erlang_scheduler_run_queue 1
# TYPE rabbitmq_erlang_net_ticktime_seconds gauge
# HELP rabbitmq_erlang_net_ticktime_seconds Inter-node heartbeat interval in seconds
rabbitmq_erlang_net_ticktime_seconds 60
# TYPE rabbitmq_io_read_ops_total counter
# HELP rabbitmq_io_read_ops_total Total number of I/O read operations
rabbitmq_io_read_ops_total 1
# TYPE rabbitmq_io_read_bytes_total counter
# HELP rabbitmq_io_read_bytes_total Total number of I/O bytes read
rabbitmq_io_read_bytes_total 1
# TYPE rabbitmq_io_write_ops_total counter
# HELP rabbitmq_io_write_ops_total Total number of I/O write operations
rabbitmq_io_write_ops_total 5
# TYPE rabbitmq_io_write_bytes_total counter
# HELP rabbitmq_io_write_bytes_total Total number of I/O bytes written
rabbitmq_io_write_bytes_total 1010
# TYPE rabbitmq_io_sync_ops_total counter
# HELP rabbitmq_io_sync_ops_total Total number of I/O sync operations
rabbitmq_io_sync_ops_total 3
# TYPE rabbitmq_io_seek_ops_total counter
# HELP rabbitmq_io_seek_ops_total Total number of I/O seek operations
rabbitmq_io_seek_ops_total 0
# TYPE rabbitmq_io_open_attempt_ops_total counter
# HELP rabbitmq_io_open_attempt_ops_total Total number of file open attempts
rabbitmq_io_open_attempt_ops_total 133
# TYPE rabbitmq_io_reopen_ops_total counter
# HELP rabbitmq_io_reopen_ops_total Total number of times files have been reopened
rabbitmq_io_reopen_ops_total 0
# TYPE rabbitmq_schema_db_ram_tx_total counter
# HELP rabbitmq_schema_db_ram_tx_total Total number of Schema DB memory transactions
rabbitmq_schema_db_ram_tx_total 3562
# TYPE rabbitmq_schema_db_disk_tx_total counter
# HELP rabbitmq_schema_db_disk_tx_total Total number of Schema DB disk transactions
rabbitmq_schema_db_disk_tx_total 262
# TYPE rabbitmq_msg_store_read_total counter
# HELP rabbitmq_msg_store_read_total Total number of Message Store read operations
rabbitmq_msg_store_read_total 0
# TYPE rabbitmq_msg_store_write_total counter
# HELP rabbitmq_msg_store_write_total Total number of Message Store write operations
rabbitmq_msg_store_write_total 0
# TYPE rabbitmq_queue_index_read_ops_total counter
# HELP rabbitmq_queue_index_read_ops_total Total number of Queue Index read operations
rabbitmq_queue_index_read_ops_total 0
# TYPE rabbitmq_queue_index_write_ops_total counter
# HELP rabbitmq_queue_index_write_ops_total Total number of Queue Index write operations
rabbitmq_queue_index_write_ops_total 0
# TYPE rabbitmq_queue_index_journal_write_ops_total counter
# HELP rabbitmq_queue_index_journal_write_ops_total Total number of Queue Index Journal write operations
rabbitmq_queue_index_journal_write_ops_total 0
# TYPE rabbitmq_raft_term_total counter
# HELP rabbitmq_raft_term_total Current Raft term number
rabbitmq_raft_term_total 1
# TYPE rabbitmq_raft_log_snapshot_index gauge
# HELP rabbitmq_raft_log_snapshot_index Raft log snapshot index
rabbitmq_raft_log_snapshot_index 0
# TYPE rabbitmq_raft_log_last_applied_index gauge
# HELP rabbitmq_raft_log_last_applied_index Raft log last applied index
rabbitmq_raft_log_last_applied_index 3
# TYPE rabbitmq_raft_log_commit_index gauge
# HELP rabbitmq_raft_log_commit_index Raft log commit index
rabbitmq_raft_log_commit_index 3
# TYPE rabbitmq_raft_log_last_written_index gauge
# HELP rabbitmq_raft_log_last_written_index Raft log last written index
rabbitmq_raft_log_last_written_index 3
# TYPE rabbitmq_raft_entry_commit_latency gauge
# HELP rabbitmq_raft_entry_commit_latency Time taken for an entry to be committed
# TYPE rabbitmq_queue_messages_ready gauge
# HELP rabbitmq_queue_messages_ready Messages ready to be delivered to consumers
# TYPE rabbitmq_queue_messages_unacked gauge
# HELP rabbitmq_queue_messages_unacked Messages delivered to consumers but not yet acknowledged
# TYPE rabbitmq_queue_messages gauge
# HELP rabbitmq_queue_messages Sum of ready and unacknowledged messages - total queue depth
# TYPE rabbitmq_queue_process_reductions_total counter
# HELP rabbitmq_queue_process_reductions_total Total number of queue process reductions
# TYPE rabbitmq_queue_consumers gauge
# HELP rabbitmq_queue_consumers Consumers on a queue
# TYPE rabbitmq_queue_process_memory_bytes gauge
# HELP rabbitmq_queue_process_memory_bytes Memory in bytes used by the Erlang queue process
# TYPE rabbitmq_queue_messages_bytes gauge
# HELP rabbitmq_queue_messages_bytes Size in bytes of ready and unacknowledged messages
# TYPE rabbitmq_queue_messages_ram gauge
# HELP rabbitmq_queue_messages_ram Ready and unacknowledged messages stored in memory
# TYPE rabbitmq_queue_messages_ready_ram gauge
# HELP rabbitmq_queue_messages_ready_ram Ready messages stored in memory
# TYPE rabbitmq_queue_messages_ready_bytes gauge
# HELP rabbitmq_queue_messages_ready_bytes Size in bytes of ready messages
# TYPE rabbitmq_queue_messages_unacked_ram gauge
# HELP rabbitmq_queue_messages_unacked_ram Unacknowledged messages stored in memory
# TYPE rabbitmq_queue_messages_unacked_bytes gauge
# HELP rabbitmq_queue_messages_unacked_bytes Size in bytes of all unacknowledged messages
# TYPE rabbitmq_queue_messages_persistent gauge
# HELP rabbitmq_queue_messages_persistent Persistent messages
# TYPE rabbitmq_queue_messages_persistent_bytes gauge
# HELP rabbitmq_queue_messages_persistent_bytes Size in bytes of persistent messages
# TYPE rabbitmq_queue_messages_paged_out gauge
# HELP rabbitmq_queue_messages_paged_out Messages paged out to disk
# TYPE rabbitmq_queue_messages_paged_out_bytes gauge
# HELP rabbitmq_queue_messages_paged_out_bytes Size in bytes of messages paged out to disk
# TYPE rabbitmq_queue_disk_reads_total counter
# HELP rabbitmq_queue_disk_reads_total Total number of times queue read messages from disk
# TYPE rabbitmq_queue_disk_writes_total counter
# HELP rabbitmq_queue_disk_writes_total Total number of times queue wrote messages to disk
# TYPE rabbitmq_erlang_uptime_seconds gauge
# HELP rabbitmq_erlang_uptime_seconds Node uptime
rabbitmq_erlang_uptime_seconds 424539.748
# TYPE rabbitmq_io_read_time_seconds_total counter
# HELP rabbitmq_io_read_time_seconds_total Total I/O read time
rabbitmq_io_read_time_seconds_total 0.001517
# TYPE rabbitmq_io_write_time_seconds_total counter
# HELP rabbitmq_io_write_time_seconds_total Total I/O write time
rabbitmq_io_write_time_seconds_total 0.005074
# TYPE rabbitmq_io_sync_time_seconds_total counter
# HELP rabbitmq_io_sync_time_seconds_total Total I/O sync time
rabbitmq_io_sync_time_seconds_total 0.015967
# TYPE rabbitmq_io_seek_time_seconds_total counter
# HELP rabbitmq_io_seek_time_seconds_total Total I/O seek time
rabbitmq_io_seek_time_seconds_total 0.0
# TYPE rabbitmq_io_open_attempt_time_seconds_total counter
# HELP rabbitmq_io_open_attempt_time_seconds_total Total file open attempts time
rabbitmq_io_open_attempt_time_seconds_total 0.012549
# TYPE rabbitmq_connections gauge
# HELP rabbitmq_connections Connections currently open
rabbitmq_connections 0
# TYPE rabbitmq_channels gauge
# HELP rabbitmq_channels Channels currently open
rabbitmq_channels 0
# TYPE rabbitmq_consumers gauge
# HELP rabbitmq_consumers Consumers currently connected
rabbitmq_consumers 0
# TYPE rabbitmq_queues gauge
# HELP rabbitmq_queues Queues available
rabbitmq_queues 0
# TYPE rabbitmq_build_info untyped
# HELP rabbitmq_build_info RabbitMQ & Erlang/OTP version info
rabbitmq_build_info{rabbitmq_version="3.8.0",prometheus_plugin_version="3.8.0",prometheus_client_version="4.4.0",erlang_version="22.1.1"} 1
# TYPE rabbitmq_identity_info untyped
# HELP rabbitmq_identity_info RabbitMQ node & cluster identity info
rabbitmq_identity_info{rabbitmq_node="rabbit@bfievdrmq01",rabbitmq_cluster="dev_rabbitmq"} 1
# TYPE telemetry_scrape_encoded_size_bytes summary
# HELP telemetry_scrape_encoded_size_bytes Scrape size, encoded
telemetry_scrape_encoded_size_bytes_count{registry="default",content_type="text/plain; version=0.0.4",encoding="gzip"} 9
telemetry_scrape_encoded_size_bytes_sum{registry="default",content_type="text/plain; version=0.0.4",encoding="gzip"} 59196
telemetry_scrape_encoded_size_bytes_count{registry="default",content_type="text/plain; version=0.0.4",encoding="identity"} 5
telemetry_scrape_encoded_size_bytes_sum{registry="default",content_type="text/plain; version=0.0.4",encoding="identity"} 250819
# TYPE telemetry_scrape_size_bytes summary
# HELP telemetry_scrape_size_bytes Scrape size, not encoded
telemetry_scrape_size_bytes_count{registry="default",content_type="text/plain; version=0.0.4"} 14
telemetry_scrape_size_bytes_sum{registry="default",content_type="text/plain; version=0.0.4"} 701886
# TYPE telemetry_scrape_duration_seconds summary
# HELP telemetry_scrape_duration_seconds Scrape duration
telemetry_scrape_duration_seconds_count{registry="default",content_type="text/plain; version=0.0.4"} 14
telemetry_scrape_duration_seconds_sum{registry="default",content_type="text/plain; version=0.0.4"} 1.636147223
# TYPE erlang_vm_dist_recv_bytes gauge
# HELP erlang_vm_dist_recv_bytes Number of bytes received by the socket.
erlang_vm_dist_recv_bytes{peer="rabbit@bfievdrmq03"} 562956057
erlang_vm_dist_recv_bytes{peer="rabbit@bfievdrmq02"} 562145552
# TYPE erlang_vm_dist_recv_cnt gauge
# HELP erlang_vm_dist_recv_cnt Number of packets received by the socket.
erlang_vm_dist_recv_cnt{peer="rabbit@bfievdrmq03"} 4448528
erlang_vm_dist_recv_cnt{peer="rabbit@bfievdrmq02"} 4438168
# TYPE erlang_vm_dist_recv_max_bytes gauge
# HELP erlang_vm_dist_recv_max_bytes Size of the largest packet, in bytes, received by the socket.
erlang_vm_dist_recv_max_bytes{peer="rabbit@bfievdrmq03"} 29354
erlang_vm_dist_recv_max_bytes{peer="rabbit@bfievdrmq02"} 29181
# TYPE erlang_vm_dist_recv_avg_bytes gauge
# HELP erlang_vm_dist_recv_avg_bytes Average size of packets, in bytes, received by the socket.
erlang_vm_dist_recv_avg_bytes{peer="rabbit@bfievdrmq03"} 126
erlang_vm_dist_recv_avg_bytes{peer="rabbit@bfievdrmq02"} 126
# TYPE erlang_vm_dist_recv_dvi_bytes gauge
# HELP erlang_vm_dist_recv_dvi_bytes Average packet size deviation, in bytes, received by the socket.
erlang_vm_dist_recv_dvi_bytes{peer="rabbit@bfievdrmq03"} 28
erlang_vm_dist_recv_dvi_bytes{peer="rabbit@bfievdrmq02"} 28
# TYPE erlang_vm_dist_send_bytes gauge
# HELP erlang_vm_dist_send_bytes Number of bytes sent from the socket.
erlang_vm_dist_send_bytes{peer="rabbit@bfievdrmq03"} 240038993
erlang_vm_dist_send_bytes{peer="rabbit@bfievdrmq02"} 256482660
# TYPE erlang_vm_dist_send_cnt gauge
# HELP erlang_vm_dist_send_cnt Number of packets sent from the socket.
erlang_vm_dist_send_cnt{peer="rabbit@bfievdrmq03"} 4757948
erlang_vm_dist_send_cnt{peer="rabbit@bfievdrmq02"} 4754757
# TYPE erlang_vm_dist_send_max_bytes gauge
# HELP erlang_vm_dist_send_max_bytes Size of the largest packet, in bytes, sent from the socket.
erlang_vm_dist_send_max_bytes{peer="rabbit@bfievdrmq03"} 29184
erlang_vm_dist_send_max_bytes{peer="rabbit@bfievdrmq02"} 29192
# TYPE erlang_vm_dist_send_avg_bytes gauge
# HELP erlang_vm_dist_send_avg_bytes Average size of packets, in bytes, sent from the socket.
erlang_vm_dist_send_avg_bytes{peer="rabbit@bfievdrmq03"} 50
erlang_vm_dist_send_avg_bytes{peer="rabbit@bfievdrmq02"} 53
# TYPE erlang_vm_dist_send_pend_bytes gauge
# HELP erlang_vm_dist_send_pend_bytes Number of bytes waiting to be sent by the socket.
erlang_vm_dist_send_pend_bytes{peer="rabbit@bfievdrmq03"} 0
erlang_vm_dist_send_pend_bytes{peer="rabbit@bfievdrmq02"} 0
# TYPE erlang_vm_dist_port_input_bytes gauge
# HELP erlang_vm_dist_port_input_bytes The total number of bytes read from the port.
erlang_vm_dist_port_input_bytes{peer="rabbit@bfievdrmq03"} 545161903
erlang_vm_dist_port_input_bytes{peer="rabbit@bfievdrmq02"} 544392838
# TYPE erlang_vm_dist_port_output_bytes gauge
# HELP erlang_vm_dist_port_output_bytes The total number of bytes written to the port.
erlang_vm_dist_port_output_bytes{peer="rabbit@bfievdrmq03"} 49
erlang_vm_dist_port_output_bytes{peer="rabbit@bfievdrmq02"} 62
# TYPE erlang_vm_dist_port_memory_bytes gauge
# HELP erlang_vm_dist_port_memory_bytes The total number of bytes allocated for this port by the runtime system. The port itself can have allocated memory that is not included.
erlang_vm_dist_port_memory_bytes{peer="rabbit@bfievdrmq03"} 44
erlang_vm_dist_port_memory_bytes{peer="rabbit@bfievdrmq02"} 44
# TYPE erlang_vm_dist_port_queue_size_bytes gauge
# HELP erlang_vm_dist_port_queue_size_bytes The total number of bytes queued by the port using the ERTS driver queue implementation.
erlang_vm_dist_port_queue_size_bytes{peer="rabbit@bfievdrmq03"} 0
erlang_vm_dist_port_queue_size_bytes{peer="rabbit@bfievdrmq02"} 0
# TYPE erlang_vm_dist_proc_memory_bytes gauge
# HELP erlang_vm_dist_proc_memory_bytes The size in bytes of the process. This includes call stack, heap, and internal structures.
erlang_vm_dist_proc_memory_bytes{peer="rabbit@bfievdrmq03",type="dist"} 16704
erlang_vm_dist_proc_memory_bytes{peer="rabbit@bfievdrmq02",type="dist"} 16704
# TYPE erlang_vm_dist_proc_heap_size_words gauge
# HELP erlang_vm_dist_proc_heap_size_words The size in words of the youngest heap generation of the process. This generation includes the process stack. This information is highly implementation-dependent, and can change if the implementation changes.
erlang_vm_dist_proc_heap_size_words{peer="rabbit@bfievdrmq03",type="dist"} 1598
erlang_vm_dist_proc_heap_size_words{peer="rabbit@bfievdrmq02",type="dist"} 1598
# TYPE erlang_vm_dist_proc_min_heap_size_words gauge
# HELP erlang_vm_dist_proc_min_heap_size_words The minimum heap size for the process.
erlang_vm_dist_proc_min_heap_size_words{peer="rabbit@bfievdrmq03",type="dist"} 233
erlang_vm_dist_proc_min_heap_size_words{peer="rabbit@bfievdrmq02",type="dist"} 233
# TYPE erlang_vm_dist_proc_min_bin_vheap_size_words gauge
# HELP erlang_vm_dist_proc_min_bin_vheap_size_words The minimum binary virtual heap size for the process.
erlang_vm_dist_proc_min_bin_vheap_size_words{peer="rabbit@bfievdrmq03",type="dist"} 46422
erlang_vm_dist_proc_min_bin_vheap_size_words{peer="rabbit@bfievdrmq02",type="dist"} 46422
# TYPE erlang_vm_dist_proc_stack_size_words gauge
# HELP erlang_vm_dist_proc_stack_size_words The stack size, in words, of the process.
erlang_vm_dist_proc_stack_size_words{peer="rabbit@bfievdrmq03",type="dist"} 10
erlang_vm_dist_proc_stack_size_words{peer="rabbit@bfievdrmq02",type="dist"} 10
# TYPE erlang_vm_dist_proc_total_heap_size_words gauge
# HELP erlang_vm_dist_proc_total_heap_size_words The total size, in words, of all heap fragments of the process. This includes the process stack and any unreceived messages that are considered to be part of the heap.
erlang_vm_dist_proc_total_heap_size_words{peer="rabbit@bfievdrmq03",type="dist"} 1974
erlang_vm_dist_proc_total_heap_size_words{peer="rabbit@bfievdrmq02",type="dist"} 1974
# TYPE erlang_vm_dist_proc_message_queue_len gauge
# HELP erlang_vm_dist_proc_message_queue_len The number of messages currently in the message queue of the process.
erlang_vm_dist_proc_message_queue_len{peer="rabbit@bfievdrmq03",type="dist"} 0
erlang_vm_dist_proc_message_queue_len{peer="rabbit@bfievdrmq02",type="dist"} 0
# TYPE erlang_vm_dist_proc_reductions gauge
# HELP erlang_vm_dist_proc_reductions The number of reductions executed by the process.
erlang_vm_dist_proc_reductions{peer="rabbit@bfievdrmq03",type="dist"} 9227953
erlang_vm_dist_proc_reductions{peer="rabbit@bfievdrmq02",type="dist"} 9227930
# TYPE erlang_vm_dist_proc_status gauge
# HELP erlang_vm_dist_proc_status The current status of the distribution process. The status is represented as a numerical value where `exiting=1', `suspended=2', `runnable=3', `garbage_collecting=4', `running=5' and `waiting=6'.
erlang_vm_dist_proc_status{peer="rabbit@bfievdrmq03",type="dist"} 6
erlang_vm_dist_proc_status{peer="rabbit@bfievdrmq02",type="dist"} 6
# TYPE erlang_vm_dist_node_state gauge
# HELP erlang_vm_dist_node_state The current state of the distribution link. The state is represented as a numerical value where `pending=1', `up_pending=2' and `up=3'.
erlang_vm_dist_node_state{peer="rabbit@bfievdrmq03"} 3
erlang_vm_dist_node_state{peer="rabbit@bfievdrmq02"} 3
# TYPE erlang_vm_memory_atom_bytes_total gauge
# HELP erlang_vm_memory_atom_bytes_total The total amount of memory currently allocated for atoms. This memory is part of the memory presented as system memory.
erlang_vm_memory_atom_bytes_total{usage="used"} 1520406
erlang_vm_memory_atom_bytes_total{usage="free"} 5523
# TYPE erlang_vm_memory_bytes_total gauge
# HELP erlang_vm_memory_bytes_total The total amount of memory currently allocated. This is the same as the sum of the memory size for processes and system.
erlang_vm_memory_bytes_total{kind="system"} 44451184
erlang_vm_memory_bytes_total{kind="processes"} 41299792
# TYPE erlang_vm_memory_dets_tables gauge
# HELP erlang_vm_memory_dets_tables Erlang VM DETS Tables count.
erlang_vm_memory_dets_tables 12
# TYPE erlang_vm_memory_ets_tables gauge
# HELP erlang_vm_memory_ets_tables Erlang VM ETS Tables count.
erlang_vm_memory_ets_tables 221
# TYPE erlang_vm_memory_processes_bytes_total gauge
# HELP erlang_vm_memory_processes_bytes_total The total amount of memory currently allocated for the Erlang processes.
erlang_vm_memory_processes_bytes_total{usage="used"} 41299432
erlang_vm_memory_processes_bytes_total{usage="free"} 360
# TYPE erlang_vm_memory_system_bytes_total gauge
# HELP erlang_vm_memory_system_bytes_total The total amount of memory currently allocated for the emulator that is not directly related to any Erlang process. Memory presented as processes is not included in this memory.
erlang_vm_memory_system_bytes_total{usage="atom"} 1525929
erlang_vm_memory_system_bytes_total{usage="binary"} 1133288
erlang_vm_memory_system_bytes_total{usage="code"} 25981371
erlang_vm_memory_system_bytes_total{usage="ets"} 3962592
erlang_vm_memory_system_bytes_total{usage="other"} 11848004
# TYPE erlang_vm_statistics_bytes_output_total counter
# HELP erlang_vm_statistics_bytes_output_total Total number of bytes output to ports.
erlang_vm_statistics_bytes_output_total 531461499
# TYPE erlang_vm_statistics_bytes_received_total counter
# HELP erlang_vm_statistics_bytes_received_total Total number of bytes received through ports.
erlang_vm_statistics_bytes_received_total 1133177051
# TYPE erlang_vm_statistics_context_switches counter
# HELP erlang_vm_statistics_context_switches Total number of context switches since the system started.
erlang_vm_statistics_context_switches 45895547
# TYPE erlang_vm_statistics_dirty_cpu_run_queue_length gauge
# HELP erlang_vm_statistics_dirty_cpu_run_queue_length Length of the dirty CPU run-queue.
erlang_vm_statistics_dirty_cpu_run_queue_length 0
# TYPE erlang_vm_statistics_dirty_io_run_queue_length gauge
# HELP erlang_vm_statistics_dirty_io_run_queue_length Length of the dirty IO run-queue.
erlang_vm_statistics_dirty_io_run_queue_length 0
# TYPE erlang_vm_statistics_garbage_collection_number_of_gcs counter
# HELP erlang_vm_statistics_garbage_collection_number_of_gcs Garbage collection: number of GCs.
erlang_vm_statistics_garbage_collection_number_of_gcs 11665275
# TYPE erlang_vm_statistics_garbage_collection_bytes_reclaimed counter
# HELP erlang_vm_statistics_garbage_collection_bytes_reclaimed Garbage collection: bytes reclaimed.
erlang_vm_statistics_garbage_collection_bytes_reclaimed 172335097896
# TYPE erlang_vm_statistics_garbage_collection_words_reclaimed counter
# HELP erlang_vm_statistics_garbage_collection_words_reclaimed Garbage collection: words reclaimed.
erlang_vm_statistics_garbage_collection_words_reclaimed 21541887237
# TYPE erlang_vm_statistics_reductions_total counter
# HELP erlang_vm_statistics_reductions_total Total reductions.
erlang_vm_statistics_reductions_total 16503836820
# TYPE erlang_vm_statistics_run_queues_length_total gauge
# HELP erlang_vm_statistics_run_queues_length_total Length of normal run-queues.
erlang_vm_statistics_run_queues_length_total 0
# TYPE erlang_vm_statistics_runtime_milliseconds counter
# HELP erlang_vm_statistics_runtime_milliseconds The sum of the runtime for all threads in the Erlang runtime system. Can be greater than wall clock time.
erlang_vm_statistics_runtime_milliseconds 6073873
# TYPE erlang_vm_statistics_wallclock_time_milliseconds counter
# HELP erlang_vm_statistics_wallclock_time_milliseconds Information about wall clock. Same as erlang_vm_statistics_runtime_milliseconds except that real time is measured.
erlang_vm_statistics_wallclock_time_milliseconds 424540974
# TYPE erlang_vm_dirty_cpu_schedulers gauge
# HELP erlang_vm_dirty_cpu_schedulers The number of scheduler dirty CPU scheduler threads used by the emulator.
erlang_vm_dirty_cpu_schedulers 1
# TYPE erlang_vm_dirty_cpu_schedulers_online gauge
# HELP erlang_vm_dirty_cpu_schedulers_online The number of dirty CPU scheduler threads online.
erlang_vm_dirty_cpu_schedulers_online 1
# TYPE erlang_vm_dirty_io_schedulers gauge
# HELP erlang_vm_dirty_io_schedulers The number of scheduler dirty I/O scheduler threads used by the emulator.
erlang_vm_dirty_io_schedulers 10
# TYPE erlang_vm_ets_limit gauge
# HELP erlang_vm_ets_limit The maximum number of ETS tables allowed.
erlang_vm_ets_limit 50000
# TYPE erlang_vm_logical_processors gauge
# HELP erlang_vm_logical_processors The detected number of logical processors configured in the system.
erlang_vm_logical_processors 1
# TYPE erlang_vm_logical_processors_available gauge
# HELP erlang_vm_logical_processors_available The detected number of logical processors available to the Erlang runtime system.
erlang_vm_logical_processors_available 1
# TYPE erlang_vm_logical_processors_online gauge
# HELP erlang_vm_logical_processors_online The detected number of logical processors online on the system.
erlang_vm_logical_processors_online 1
# TYPE erlang_vm_port_count gauge
# HELP erlang_vm_port_count The number of ports currently existing at the local node.
erlang_vm_port_count 24
# TYPE erlang_vm_port_limit gauge
# HELP erlang_vm_port_limit The maximum number of simultaneously existing ports at the local node.
erlang_vm_port_limit 65536
# TYPE erlang_vm_process_count gauge
# HELP erlang_vm_process_count The number of processes currently existing at the local node.
erlang_vm_process_count 601
# TYPE erlang_vm_process_limit gauge
# HELP erlang_vm_process_limit The maximum number of simultaneously existing processes at the local node.
erlang_vm_process_limit 1048576
# TYPE erlang_vm_schedulers gauge
# HELP erlang_vm_schedulers The number of scheduler threads used by the emulator.
erlang_vm_schedulers 1
# TYPE erlang_vm_schedulers_online gauge
# HELP erlang_vm_schedulers_online The number of schedulers online.
erlang_vm_schedulers_online 1
# TYPE erlang_vm_smp_support untyped
# HELP erlang_vm_smp_support 1 if the emulator has been compiled with SMP support, otherwise 0.
erlang_vm_smp_support 1
# TYPE erlang_vm_threads untyped
# HELP erlang_vm_threads 1 if the emulator has been compiled with thread support, otherwise 0.
erlang_vm_threads 1
# TYPE erlang_vm_thread_pool_size gauge
# HELP erlang_vm_thread_pool_size The number of async threads in the async thread pool used for asynchronous driver calls.
erlang_vm_thread_pool_size 64
# TYPE erlang_vm_time_correction untyped
# HELP erlang_vm_time_correction 1 if time correction is enabled, otherwise 0.
erlang_vm_time_correction 1
# TYPE erlang_vm_atom_count gauge
# HELP erlang_vm_atom_count The number of atom currently existing at the local node.
erlang_vm_atom_count 44475
# TYPE erlang_vm_atom_limit gauge
# HELP erlang_vm_atom_limit The maximum number of simultaneously existing atom at the local node.
erlang_vm_atom_limit 5000000
# TYPE erlang_vm_allocators gauge
# HELP erlang_vm_allocators Allocated (carriers_size) and used (blocks_size) memory for the different allocators in the VM. See erts_alloc(3).
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="temp_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="sl_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="mbcs",usage="blocks"} 40
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 135184
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="mbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 1179648
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs",usage="blocks"} 296
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 97312
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 472
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 161096
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 1
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 1048576
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="std_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="mbcs",usage="blocks"} 3705
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 16512216
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="mbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 18874368
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs",usage="blocks"} 67764
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 29551688
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs",usage="carriers"} 7
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 30408704
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 2413
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 1117960
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 1
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 8388608
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="ll_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="mbcs",usage="blocks"} 27
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 204240
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 524288
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="sbcs",usage="blocks"} 2
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 10782928
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="sbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="eheap_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 10788864
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs",usage="blocks"} 1315
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 10584600
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs",usage="carriers"} 11
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 15204352
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 0
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 0
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 0
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 0
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="sbcs",usage="blocks"} 7
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 6292832
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="sbcs",usage="carriers"} 7
erlang_vm_allocators{alloc="eheap_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 6680576
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs",usage="blocks"} 3593
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 2667184
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs",usage="carriers"} 3
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 3276800
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 445
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 246832
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 1
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 4194304
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="ets_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="mbcs",usage="blocks"} 6
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 4992
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs",usage="blocks"} 1825
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 617992
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 1179648
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="fix_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="mbcs",usage="blocks"} 1056
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 5253624
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="mbcs",usage="carriers"} 4
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 7340032
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="literal_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="mbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="mbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="exec_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="mbcs",usage="blocks"} 152
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 38008
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs",usage="blocks"} 947
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 1029496
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 1179648
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 10
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 53728
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 1
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 1048576
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="binary_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="mbcs",usage="blocks"} 86
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="mbcs",usage="blocks_size"} 14776
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="mbcs",usage="carriers"} 1
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="mbcs",usage="carriers_size"} 131072
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="0",kind="sbcs",usage="carriers_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs",usage="blocks"} 374
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs",usage="blocks_size"} 66816
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs",usage="carriers"} 2
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs",usage="carriers_size"} 1179648
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs_pool",usage="blocks"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs_pool",usage="blocks_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs_pool",usage="carriers"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="mbcs_pool",usage="carriers_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="sbcs",usage="blocks"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="sbcs",usage="blocks_size"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="sbcs",usage="carriers"} 0
erlang_vm_allocators{alloc="driver_alloc",instance_no="1",kind="sbcs",usage="carriers_size"} 0

* Connection #0 to host 10.6.0.249 left intact
* Closing connection #0

@danielnelson
Copy link
Contributor

I think this is an issue with rabbitmq-prometheus then, this Accept header should match as acceptable:

curl -v -H "Accept:text/plain;version=0.0.4" "http://10.6.0.249:15692/metrics"

Can you show the 406 from this query on your issue with rabbitmq-prometheus?

@00Asgaroth00
Copy link
Author

I've added a comment on the closed issue I had originally opened, mentioning that the curl query you specified above should be accepted, will see if anyone responds to the comment.

Is there a reference somewhere that I can point rabbitmq-prometheus to that specifies that the Accept header can have the "version=0.0.4" string in it?

@danielnelson
Copy link
Contributor

The version string is shown in this table: https://prometheus.io/docs/instrumenting/exposition_formats/#basic-info

We are a bit out of date on our Accept header, in the prometheus code I found the string I believe they are currently using:

application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1

On our end I think we ought to add ,*/*;q=0.1 and investigate what would need updated to support application/openmetrics-text; version=0.0.1.

michaelklishin added a commit to rabbitmq/rabbitmq-prometheus that referenced this issue Oct 15, 2019
michaelklishin added a commit to rabbitmq/rabbitmq-prometheus that referenced this issue Oct 15, 2019
@michaelklishin
Copy link

rabbitmq-prometheus has been adapted to be less rigid about what MIME subtypes and parameters it accepts. Thanks for the doc link.

@00Asgaroth00
Copy link
Author

Daniel, thanks for your help thus far, much appreciated.

One thought though, I wonder how many people out there are using a version of prometheus exporter that is older than Prometheus v2.x, maybe it would be an option for the plugin to specify the version you would like to scrape against, to maintain backward compatibility?

@danielnelson
Copy link
Contributor

I haven't seen anything that makes me think we can't support pre-2.x without imposing limitations on post-2.x users, but if this comes up then that is exactly how we would handle it. I'm expecting with this change to rabbitmq-prometheus it should work with Telegraf before we make any changes on our side.

@00Asgaroth00
Copy link
Author

Hi, yes the change on the rabbitmq-prometheus project has enabled the current prometheus input accept header to scrape successfully.

@goller goller added this to the 1.12.4 milestone Oct 21, 2019
@danielnelson danielnelson modified the milestones: 1.12.4, 1.13.0 Oct 22, 2019
@danielnelson
Copy link
Contributor

Moving to 1.13 since no known issues without the change.

HoloRin pushed a commit to rabbitmq/rabbitmq-monorepo that referenced this issue Sep 9, 2020
powersj added a commit to powersj/telegraf that referenced this issue May 11, 2022
In influxdata#6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, influxdata#6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: influxdata#10248
srebhan pushed a commit that referenced this issue May 24, 2022
In #6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, #6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: #10248
jotavalenciano added a commit to dgkanatsios/telegraf that referenced this issue Jul 1, 2022
* fix: update go.opentelemetry.io/collector/pdata from v0.48.0 to v0.49.0 (influxdata#10984)

* docs: add missing slash in mongodb readme (influxdata#10994)

* chore: update pull request with master when running CI (influxdata#10993)

* chore: add readme linter (influxdata#10916)

* fix: correctly parse various numeric forms (influxdata#10923)

* fix: add mariadb_dialect to address the MariaDB differences in INNODB_METRICS (influxdata#10486)

* docs: correct influx parser type setting in README (influxdata#11004)

* fix: use correct auth token with consul_agent (influxdata#11001)

* docs: add openstack metadata external plugin (influxdata#10999)

* fix: use sprint to cast to strings in gnmi (influxdata#11010)

* chore: Fix readme linter errors for output plugins (influxdata#10951)

* fix: allow Makefile to work on Windows (influxdata#11015)

* fix(cmd): Also allow 0 outputs when using test-wait parameter (influxdata#11013)

* fix: add mutex to gnmi lookup map (influxdata#11008)

* fix: bump github.com/aws/aws-sdk-go-v2/config from 1.13.1 to 1.15.3 (influxdata#10998)

* Update changelog

(cherry picked from commit 234a448)

* fix: remove duplicate influxdb listener writes (influxdata#10976)

* fix: use external xpath parser for gnmi (influxdata#11024)

* chore: Adding influx's semantic commit and PR message checker, so we … (influxdata#11009)

* chore: Adding influx's semantic commit and PR message checker, so we can deprecate semantic-pull-requests

* feat: change commit history for semantic validation to 1 (last commit)

* chore: remove influxdata/validate-semantic-github-messages github workflow (influxdata#11036)

* feat: create and push nightly docker images to quay.io (influxdata#11000)

* fix: reduce log level in disk plugin (influxdata#10925)

* chore: increase timeout for darwin packaging (influxdata#11041)

* chore: enable linting of shell scripts (influxdata#11031)

* feat(outputs.http): Support configuration of `MaxIdleConns` and `MaxIdleConnsPerHost` (influxdata#10954)

* fix: datadog count metrics (influxdata#10979)

* Update changelog

(cherry picked from commit 53863d2)

* style: align plugin renaming (influxdata#10868)

* chore(inputs/disk): add deprecation notice to legacy mountpoints setting (influxdata#10948)

* fix: have telegraf service wait for network up (influxdata#11042)

* feat: add influx semantic commits checker, checks only last commit. (influxdata#11037)

* fix: re-init azure monitor http client on context deadline error (influxdata#11030)

* fix: do not error when closing statsd network connection (influxdata#11043)

* fix: deprecate useless database config option (influxdata#11044)

* fix(inputs.couchbase): Don't assume metrics will all be of the same length (influxdata#11045)

* fix(inputs.couchbase): Don't assume metrics will all be of the same length

* fix: move to one line

* feat(exec, execd): add an option to pass a custom environment to their child process (influxdata#11049)

* refactor: replace strings.Replace with strings.ReplaceAll (influxdata#11079)

* docs: correct copy-and-paste of udp to tcp (influxdata#11080)

* chore: update opentelemetry plugins (influxdata#11085)

* fix(outputs.Wavefront): If no "host" tag is provided, do not add "telegraf.host" tag (influxdata#11078)

Co-authored-by: ffaroo1 <svc-registry-github@intuit.com>

* fix: bump github.com/showwin/speedtest-go from 1.1.4 to 1.1.5 (influxdata#10722)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MyaLongmire <myalongmire05@gmail.com>

* docs: note about listsnapshots cause zfs parse failures (influxdata#11091)

* feat(inputs.vsphere): Collect resource pools metrics and add resource pool tag in VM metrics (influxdata#10574)

* Collect Resource Pool metrics; Add rpname tag on VM metrics

* Update vSphere readme file

* Update vSphere readme file

* Correct typo in vSphere Readme

* Correct Markdown of metrics.md

* Fix metrics file

* Fix code in endpoint (filter); add some tests

* Update plugins/inputs/vsphere/endpoint.go

That's true I commit this suggestion

Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>

* Removed Context and Endpoint from getResourcePoolName func

Co-authored-by: Simon LAMBERT <silambert@cirilgroup.com>
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>

* feat: add mount option filtering to disk plugin (influxdata#11039)

* Update changelog

(cherry picked from commit c07868f)

* fix: Output erroneous namespace and continue instead of error out (influxdata#11069)

* fix: check net.Listen() error in tests (influxdata#11093)

* docs: fix socket_writer output format link (influxdata#11101)

* feat: Artifactory Webhook Receiver (influxdata#10918)

* test: add test for mysql gatherGlobalVariables using sql-mock (influxdata#10987)

* chore(inputs/file): More clear error messages (influxdata#11104)

* fix: Update gopsutil from v3.22.3 to v3.22.4 to allow for HOST_PROC_MOUNTINFO. (influxdata#11107)

* fix: bump github.com/wavefronthq/wavefront-sdk-go from 0.9.10 to 0.9.11 (influxdata#10970)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: log instance name in skip warnings (influxdata#10995)

* feat(parsers/logfmt): Add tag support (influxdata#11060)

* feat: allow other fluentd metrics apart from retry_count, buffer_queu… (influxdata#11056)

* fix(parsers/nagios): metrics will always return a supported status co… (influxdata#11062)

Co-authored-by: Morten Urban <morten.urban@sectornord.de>

* test: remove unused riemann from docker-compose (influxdata#11118)

* fix: elasticsearch output float handling test (influxdata#11120)

* test: remove unecessary flag in sql input (influxdata#11115)

* test: use supported version of elasticsearch (influxdata#11111)

* chore(processors): migrate sample configs into separate files (influxdata#11125)

* chore(aggregators): migrate sample configs into separate files (influxdata#11130)

* chore(outputs): migrate sample configs into separate files (influxdata#11131)

* chore(inputs_m-z): migrate sample configs into separate files (influxdata#11133)

* chore(inputs_a-l): migrate sample configs into separate files (influxdata#11132)

* fix: use readers over closers in http input (influxdata#11083)

* feat: add slab metrics input plugin (influxdata#11075)

Co-authored-by: reimda <reimda@users.noreply.github.com>
Co-authored-by: Joshua Powers <powersj@fastmail.com>

* feat: do not error if no nodes found for current config with xpath parser (influxdata#11102)

* feat: [inputs/burrow] fill more http transport parameters (influxdata#6948)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>

* fix: avoid calling sadc with invalid 0 interval (influxdata#11140)

* fix(inputs.burrow): Move Dialer to variable and run `make fmt` (influxdata#11149)

* fix: doc interval setting for internet speed plugin (influxdata#11150)

* test: switch internet speed to enable file download (influxdata#11146)

* test: update mongodb output to use test containers (influxdata#11137)

* test: force elasticsearch to index batch data (influxdata#11153)

* docs: update review docs (influxdata#11147)

* fix: Improve slab testing without sudo. (influxdata#11151)

* feat: add external huebridge input plugin (influxdata#11159)

* test: add generic test-container code for re-use, migrate mysql (influxdata#11157)

* fix: bump github.com/aws/aws-sdk-go-v2/config from 1.15.3 to 1.15.7 (influxdata#11166)

* test: avoid data race in tcp-listener test (influxdata#11144)

* feat(intel_powerstat): add Max Turbo Frequency and introduce improvements (influxdata#11035)

* chore: add readme linter to CI (influxdata#11020)

* feat(inputs.cpu): Add tags with core id or physical id to cpus (influxdata#11141)

* fix: Remove any content type from prometheus accept header (influxdata#11082)

In influxdata#6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, influxdata#6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: influxdata#10248

* fix: search services file in /etc/services and fall back to /usr/etc/services (influxdata#11179)

* chore: Embed sample configurations into README for inputs (influxdata#11136)

* test: migrate crate to test-containers code (influxdata#11165)

* test: migrate nats to test-containers (influxdata#11170)

* test: migrate mqtt to test containers (influxdata#11172)

* test: migrate redis to test-containers (influxdata#11174)

* test: migrate memcached to test-containers (influxdata#11176)

* fix: Convert slab plugin to new sample.conf. (influxdata#11181)

* test: migrate aerospike to test-containers (influxdata#11177)

* feat: add field key option to set event partition key (influxdata#11076)

* test: migrate opcua to test-containers (influxdata#11171)

* test: migrate nsq to test containers (influxdata#11173)

* test: migrate openldap tests to test-containers (influxdata#11169)

* feat: Google API Auth (influxdata#11084)

* chore: embed sample configurations into README for outputs (influxdata#11182)

* chore: Embed sample configurations into README for processors (influxdata#11189)

* chore: Embed sample configurations into README for aggregators (influxdata#11190)

* test: remove rabbitmq container not used (influxdata#11175)

* test: migrate pgbouncer to test-containers (influxdata#11186)

* fix(inputs/snmp): Reconnect TCP agents if needed (influxdata#11163)

* fix: update golangci-lint from v1.45.2 to v1.46.2 (influxdata#11191)

* fix: redis plugin goroutine leak triggered by auto reload config mechanism (influxdata#11143)

* feat: Add constant 'algorithm' to the mock plugin (influxdata#11188)

* fix(plugins/amqp): move from `streadway/amqp` to `rabbitmq/amqp091-go` (influxdata#11192)

* test: migrate zookeeper to test-containers (influxdata#11185)

* fix: bump github.com/sensu/sensu-go/api/core/v2 from 2.13.0 to 2.14.0 (influxdata#11021)

* docs: remove recommendation for prometheus metric_version=2 (influxdata#11158)

* chore: update OpenTelmetry plugins (influxdata#11194)

* fix: bump go.opentelemetry.io/otel/metric from 0.28.0 to 0.30.0 (influxdata#11088)

* chore: correctly spell embed (influxdata#11200)

* test: actually skip flaky snmp test (influxdata#11199)

This test had a short skip added to it four years ago and a comment that
the test has random failures. While working on the integration tests,
which run all tests this test started showing up in the errors.

While the two asserts at the end could possibly be updated, it is worth
having someone look deeper into understanding why this change is
required.

In order to get integration tests running, this skips this test always.

* test: refactor testcontainer port lookup (influxdata#11198)

* fix(inputs/snmp): switch new Reconnect method to be a value receiver (influxdata#11197)

* chore: update gopkg.in/yaml.v3 from v3.0.0 to v3.0.1 (influxdata#11213)

* chore: update github.com/opencontainers/runc from v1.0.2 to v1.1.2 (influxdata#11212)

* test: enable logging with testcontainers (influxdata#11211)

* fix: bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.4 (influxdata#11221)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>

* fix: Update sample.conf for prometheus (influxdata#11217)

* fix: (outputs/sql) table existence cache (influxdata#10812)

* fix(inputs/modbus): influxdata#11105 fix requests starting with an omitted field (influxdata#11202)

* feat(inputs.nginx_plus_api): Gather slab metrics (influxdata#10448)

* fix: Upgrade xpath and fix code (influxdata#11241)

* chore: Bump riemann-go-client and remove replacement (influxdata#11236)

* docs: Initial update of integration test docs (influxdata#11210)

* test: migrate kafka to testcontainers (influxdata#11206)

* test: migrate mcrouter to test-containers (influxdata#11208)

* test: migrate postgres to testcontainers (influxdata#11209)

* chore: Bump apcupds and remove the replacement as issue is fixed upstream. (influxdata#11239)

* test: migrate elasticsearch to testcontainers (influxdata#11207)

* feat(inputs.sqlserver): Update query store and latch performance counters (influxdata#11216)

* fix: update moby/ipvs dependency from v1.0.1 to v1.0.2 (influxdata#11242)

* test: remove docker-compose.yml test file (influxdata#11243)

* docs: update test-container docs (influxdata#11244)

* fix: re-add event to splunk serializer (influxdata#11237)

* chore: upgrade windows circleci size (influxdata#11249)

* chore: rename circleci executor (influxdata#11247)

* chore: update go from v1.18.1 to v1.18.3 (influxdata#11248)

* test: harden running of testcontainer integration tests (influxdata#11245)

* test: add circle ci integration testing on PRs (influxdata#11246)

* test: remove restore integration test cache (influxdata#11255)

* feat(intel_powerstat): add uncore frequency metrics (influxdata#11254)

* docs: add missing word <3 (influxdata#11262)

* fix: update modernc.org/sqlite from v1.10.8 to v1.17.3 (influxdata#11260)

* chore: Fix readme linter errors for processor, aggregator, and parser plugins (influxdata#10960)

* fix: bump github.com/tidwall/gjson from 1.10.2 to 1.14.1 (influxdata#11264)

* Bump github.com/tidwall/gjson from v1.10.2 to v1.14.1

* Fix node references which are switched to parent relative now.

* fix: update github.com/containerd/containerd from v1.5.11 to v1.5.13 (influxdata#11266)

* chore: Fix readme linter errors for input plugins A-D (influxdata#10964)

* chore: Fix readme linter errors for input plugins E-L (influxdata#11214)

* fix: remove full access permissions (influxdata#11261)

* fix: add missing build constraints for sqlite (influxdata#11272)

* feat: Migrate xpath parser to new style (influxdata#11218)

* fix: Always build README-embedder for host-architecture (influxdata#11253)

* chore: Fix readme linter errors for input plugins M-Z (influxdata#11274)

* fix(inputs/directory_monitor): Add support for multiline file parsing (influxdata#11234)

* test: add install go for linux, use in integration tests (influxdata#11281)

* Update build version to 1.24.0

* Update changelog for v1.23.0

(cherry picked from commit 7317a81)

* fix: Don't rebase on master when building packages (influxdata#11291)

* fix: Remove all rebase logic from CI (influxdata#11293)

* fix: bump cloud.google.com/go/monitoring from 1.2.0 to 1.5.0 (influxdata#11295)

* feat(inputs.x509_cert): add smtp protocol (influxdata#11271)

Co-authored-by: dreiekk <dreiekk@users.noreply.github.com>

* fix(parsers/xpath): Reduce debug messages when empty selection is allowed (influxdata#11302)

* feat: add default appType as config option to groundwork output (influxdata#11300)

* feat: Make the command "config" a subcommand (influxdata#11282)

* feat: make the command "config" a subcommand

* fix: backwards compatible
support telegraf *filters* config

* fix: Prevent concurrent map writes to c.UnusedFields (influxdata#11311)

* docs: explain directly connecting to mongo node (influxdata#11314)

* chore: Remove prefix to use the default `chore(deps)` (influxdata#11315)

* test: update wait for statement for postgres (influxdata#11309)

* test: mark integration tests correctly (influxdata#11317)

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.2 to 1.12.5 (influxdata#11297)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump google.golang.org/grpc from 1.46.2 to 1.47.0 (influxdata#11318)

* chore(deps): Bump k8s.io/client-go from 0.23.3 to 0.24.1 (influxdata#11223)

* chore(deps): Bump github.com/go-logfmt/logfmt from 0.5.0 to 0.5.1 (influxdata#11299)

* chore: make apt-get instructions consistent and add GPG fingerprint (influxdata#11326)

* test: add coveralls coverage to master (influxdata#11256)

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/dynamodb (influxdata#11328)

* chore(deps): Bump go.mongodb.org/mongo-driver from 1.9.0 to 1.9.1 (influxdata#11320)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/gophercloud/gophercloud from 0.24.0 to 0.25.0 (influxdata#11321)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump google.golang.org/api from 0.74.0 to 0.84.0 (influxdata#11338)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MyaLongmire <myalongmire05@gmail.com>

* chore: fix typo (recieve -> receive) (influxdata#11341)

* chore(deps): Bump github.com/fatih/color from 1.10.0 to 1.13.0 (influxdata#11340)

* fix: filter out views in mongodb lookup (influxdata#11280)

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.3.2 to 1.13.6 (influxdata#11322)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11344)

Co-authored-by: Tiger Bot <>

* feat(redis): add Redis 6 ACL auth support (influxdata#9333)

* feat(x509_cert): add proxy support (influxdata#9319)

* chore(deps): Bump github.com/Shopify/sarama from 1.32.0 to 1.34.1 (influxdata#11319)

* docs: Sync sample.conf for recent features (influxdata#11348)

* chore: move agent config into seperate file (influxdata#11337)

* feat: Migrate json parser to new style (influxdata#11226)

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11351)

Co-authored-by: Tiger Bot <>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>

* fix: don't require listeners to be present in overview (influxdata#9315)

* feat: Add CSV serializer (influxdata#11307)

* fix: Restore sample configurations broken during initial migration (influxdata#11276)

* feat: Migrate json_v2 parser to new style (influxdata#11343)

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11365)

Co-authored-by: Tiger Bot <>

* chore(deps): Bump github.com/dynatrace-oss/dynatrace-metric-utils-go from 0.3.0 to 0.5.0 (influxdata#11342)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/nats-io/nats.go from 1.15.0 to 1.16.0 (influxdata#11339)

* chore(deps): Bump cloud.google.com/go/pubsub from 1.18.0 to 1.22.2 (influxdata#11349)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: swap bytes sent/recv descriptions in nfsclient (influxdata#11376)

* chore(deps): Bump go.opentelemetry.io/collector/pdata from 0.52.0 to 0.54.0 (influxdata#11369)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.1 (influxdata#11346)

* chore(deps): Bump cloud.google.com/go/bigquery from 1.8.0 to 1.33.0 (influxdata#11379)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/Azure/azure-kusto-go from 0.6.0 to 0.7.0 (influxdata#11378)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: migrate wavefront parser to new style (influxdata#11374)

* feat: allow collecting node-level metrics for Couchbase buckets (influxdata#9717)

* feat: Migrate collectd parser to new style (influxdata#11367)

* chore(deps): Bump cloud.google.com/go/pubsub from 1.22.2 to 1.23.0 (influxdata#11394)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/kinesis (influxdata#11380)

* chore: Remove 'github.com/satori/go.uuid' replacement (influxdata#11240)

* chore: Remove 'github.com/cisco-ie/nx-telemetry-proto' replacement (influxdata#11401)

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.1.0 to 1.46.0 (influxdata#11382)

* test: add nightly package testing to amd64/linux (influxdata#11377)

* fix: resolve jolokia2 panic on null response (influxdata#11397)

* fix: Sync back sample.confs for inputs.couchbase and outputs.groundwork. (influxdata#11413)

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11414)

Co-authored-by: Tiger Bot <>

* chore(deps): Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (influxdata#11395)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): Bump github.com/vmware/govmomi from 0.27.3 to 0.28.0 (influxdata#11396)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>

* chore: move printing of sample config file out of config.go (influxdata#11409)

* feat: migrate form_urlencoded parser to new style (influxdata#11381)

* feat(outputs/wavefront): make maximum http batch size configurable (influxdata#11201)

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11419)

Co-authored-by: Tiger Bot <>

* feat: migrate value parser to new style (influxdata#11407)

* feat: Migrate graphite parser to new style (influxdata#11405)

* fix: Bring back old xpath section names (influxdata#11335)

* feat: Migrate logfmt parser to new style (influxdata#11366)

* test: exchange confused parameters (expected vs actual) (influxdata#11422)

* chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.15.4 to 1.15.8 (influxdata#11415)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: Migrate dropwizard parser to new style (influxdata#11371)

* feat: migrate grok to new parser style (influxdata#11408)

* chore(deps): Bump github.com/influxdata/influxdb-observability/otel2influx from 0.2.21 to 0.2.22 (influxdata#11416)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: run check-update on dnf/yum (influxdata#11430)

* feat: adding aws metric streams input plugin (influxdata#11233)

* docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (influxdata#11431)

Co-authored-by: Tiger Bot <>

* Remove added modules

* Add again missing modules

* Fix README for compliance

* Reduce lines length

* Fix trailing spaces and indentation

* Fix code warnings

* Update go sum

* Update licenses for dependencies

* Fix race in test

Co-authored-by: Jacob Marble <jacobmarble@influxdata.com>
Co-authored-by: Adam Zwakenberg <adam@adamzwakk.com>
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
Co-authored-by: Joshua Powers <powersj@fastmail.com>
Co-authored-by: Marc <980978+MarcHagen@users.noreply.github.com>
Co-authored-by: Alexander Kapshuna <kapsh@kap.sh>
Co-authored-by: Adam Rowan <92474478+bear359@users.noreply.github.com>
Co-authored-by: Dmitry Lavrukhin <34265546+lawdt@users.noreply.github.com>
Co-authored-by: bewing <brandon.ewing@warningg.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
Co-authored-by: Tyson Kamp <tysonkamp@gmail.com>
Co-authored-by: RaviKiran K <ravikirankilingar@gmail.com>
Co-authored-by: Jimmy Rimmer <74691101+jrimmer-housecallpro@users.noreply.github.com>
Co-authored-by: M.D <another.mmx@gmail.com>
Co-authored-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Peter (Stig) Edwards <thatsafunnyname@gmail.com>
Co-authored-by: Farukh Ali <farukhali@gmail.com>
Co-authored-by: ffaroo1 <svc-registry-github@intuit.com>
Co-authored-by: MyaLongmire <myalongmire05@gmail.com>
Co-authored-by: 6monlambert <32525162+6monlambert@users.noreply.github.com>
Co-authored-by: Simon LAMBERT <silambert@cirilgroup.com>
Co-authored-by: Nathan Ferch <nferch@users.noreply.github.com>
Co-authored-by: Sergey Lanzman <sergeylanz@gmail.com>
Co-authored-by: lambdaq <lambdaq@gmail.com>
Co-authored-by: sammcadams-8451 <44906845+sammcadams-8451@users.noreply.github.com>
Co-authored-by: Felix Edelmann <fxedel@gmail.com>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: Kuldeep Doneriya <101704094+dkuldeep22@users.noreply.github.com>
Co-authored-by: Sakerdotes <morten.urban@mail.de>
Co-authored-by: Morten Urban <morten.urban@sectornord.de>
Co-authored-by: Nobuhiro MIKI <nob@bobuhiro11.net>
Co-authored-by: Sokolov Yura <funny.falcon@gmail.com>
Co-authored-by: Holger <hdecarne@gmail.com>
Co-authored-by: bkotlowski <bartlomiej.kotlowski@intel.com>
Co-authored-by: Martin Molnar <mmolnar@users.noreply.github.com>
Co-authored-by: Heiko Schlittermann <hs@schlittermann.de>
Co-authored-by: crflanigan <69858641+crflanigan@users.noreply.github.com>
Co-authored-by: zhiyuan-mojie <351843010@qq.com>
Co-authored-by: Ruoshan Huang <ruoshan.huang@gmail.com>
Co-authored-by: TimurDela <32736336+TimurDela@users.noreply.github.com>
Co-authored-by: glennlod <81913666+glennlod@users.noreply.github.com>
Co-authored-by: David Barbarin <68589619+dba-leshop@users.noreply.github.com>
Co-authored-by: Jan-Gerd Tenberge <97132060+ns-jtenberge@users.noreply.github.com>
Co-authored-by: skillor <skillor@gmx.net>
Co-authored-by: dreiekk <dreiekk@users.noreply.github.com>
Co-authored-by: Vladislav Senkevich <mr.senkevich@gmail.com>
Co-authored-by: Jamie Strandboge <jamie@strandboge.com>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
Co-authored-by: telegraf-tiger[bot] <76974415+telegraf-tiger[bot]@users.noreply.github.com>
Co-authored-by: Alexander Krantz <alex@krantz.dev>
Co-authored-by: papapiya <402561078@qq.com>
Co-authored-by: Luke Winikates <521457+LukeWinikates@users.noreply.github.com>
Co-authored-by: Cillian McCabe <mccabecillian@gmail.com>
MyaLongmire pushed a commit that referenced this issue Jul 6, 2022
In #6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, #6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: #10248
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prometheus bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants