Open kjedamzik opened 1 year ago
Looks like nobody has written any syntax highlighting definition for it for Sublime yet: https://packagecontrol.io/search/prometheus
Highlighting it as Perl doesn't look too bad IMO (bat -l Perl path/to/prometheus_exposition_format_file
):
# HELP metric_name Description of the metric
# TYPE metric_name type
# Comment that's not parsed by prometheus
http_requests_total{method="post",code="400"} 3 1395066363000
would be great if bat supports the prometheus exposition format