exemplars-app

command module
v0.0.0-...-d0fa04d Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

exemplars-app

How to use

App will start at localhost:8080.

go build -o main main.go
./main

Prometheus Setup

Example Prometheus configuration file.

# my global config
global:
  scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.

# A scrape configuration containing exactly one endpoint to scrape:
scrape_configs:
  - job_name: "app"
    static_configs:
    - targets: ["localhost:8080"]

Start local Prometheus.

./prometheus --enable-feature=exemplar-storage

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