custom_metrics

command
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 9 Imported by: 0

README

Custom Metrics Example

Run

make run-custom-metrics-example

Call routes

By using pitaya-cli, call:

connect localhost:3250
request room.room.setcounter {"value": 1.0, "tag1": "value1", "tag2": "value2"}
request room.room.setgauge1 {"value": 1.0, "tag1": "value1"}
request room.room.setgauge2 {"value": 1.0, "tag2": "value2"}
request room.room.setsummary {"value": 1.0, "tag1": "value1"}

Check out the results on curl localhost:9090/metrics | grep 'my_'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL