You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems ok right? but metrics endpoint is different,
# TYPE fluentd_test_input_status_num_records_total counter
# HELP fluentd_test_input_status_num_records_total The total number of incoming records
configuration
<system>
workers 8 # also can be specified by `--workers` command line option
root_dir /etc/fluent # strongly recommended to specify this
</system>
<source>
@type forward
port 24200
</source>
<source>
@type monitor_agent
@id monitor_agent_input
port 24240
</source>
<source>
@type prometheus
bind 0.0.0.0
port 24231
metrics_path /metrics
</source>
<filter app.**>
@type prometheus
<metric>
name fluentd_test_input_status_num_records_total
type counter
desc The total number of incoming records
<labels>
tag ${tag}
worker ${worker_id}
hostname ${hostname}
</labels>
</metric>
</filter>
<match app.**>
@type stdout
</match>
gems
$ gem list
fluent-plugin-prometheus (1.3.0)
fluentd (1.3.3)
prometheus-client (0.8.0)
The text was updated successfully, but these errors were encountered:
I've put print outs to the
instrument
method at 162nd line,fluent-plugin-prometheus/lib/fluent/plugin/prometheus.rb
Line 162 in 4648329
here is the output,
seems ok right? but
metrics
endpoint is different,configuration
gems
The text was updated successfully, but these errors were encountered: