Skip to content

giganteous/pygments-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygments-prometheus

A pygments lexer for Prometheus metrics

Overview

This package provides a prometheus metrics language lexer for Pygments. THe lexer is published as an entry point and, once installed, Pygments will pick it up automatically.

You can then use the prom langauge with Pygments:

$ pygmentize -l prom metrics.prom

Installation

Use your favorite installer to install pygments-prometheus into the same Python you have installed Pygments. for example:

$ pip install pygments-prometheus

TO verify the installation run:

$ pygmentize -L lexer | grep -A1 -i prometheus
  * prometheus:
    prom (filenames *.prom)

About

Pygments lexer for prometheus metrics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages