Skip to content

About

Metrics terminal dashboard for developer in dev stage

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

devtermdash

Why this

When delvelop some service, you may expose some prometheus metrics,like request qps or response latency. But if you want to check the performance with the metrics, you need let the prometheus collect you service metrics, that may include many works, like compile and deploy service to env, and find some way to let prometheus collect you service metrics, like by podMonitor/serviceMonitor

Why the graph not as expect?

Because in reality, the prometheus will continually scrape and store the target metrics, but when use this tool, you may not continually run it to collect the target metrics, this will cause the metrics lost in some time range. So you can use --reset to clean the history metircs, that you can see the expect graph.

Terminal example

image

Limit

As it is for the serice in develop stage, now it just support showing one promQL, the max time range is 2h.

Build

$ go build

Usage

$ ./devtermdash --storage.tsdb.path=<storage_folder> --exporter.address=<target>
  • storage_folder: Folder for storage
  • target: The scrape target, e.g.localhost:8080

About

Metrics terminal dashboard for developer in dev stage

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址