metrics

command module
v0.0.0-...-33c01aa Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

metrics

this example creates simple request counter with prometheus tags.

$ curl localhost:18000 -v -H "my-custom-header: foo" 

$ curl -s 'localhost:8001/stats/prometheus'| grep proxy
# TYPE custom_header_value_counts counter
custom_header_value_counts{value="foo",reporter="wasmgosdk"} 1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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