flags

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package flags contains all configuration runtime flags for the client-stats daemon.

Index

Constants

This section is empty.

Variables

View Source
var (
	// BeaconCertFlag defines a flag for the beacon api certificate.
	ValidatorMetricsURLFlag = &cli.StringFlag{
		Name:  "validator-metrics-url",
		Usage: "Full URL to the validator /metrics prometheus endpoint to scrape. eg http://localhost:8081/metrics",
	}
	// BeaconRPCProviderFlag defines a flag for the beacon host ip or address.
	BeaconnodeMetricsURLFlag = &cli.StringFlag{
		Name:  "beacon-node-metrics-url",
		Usage: "Full URL to the beacon-node /metrics prometheus endpoint to scrape. eg http://localhost:8080/metrics",
	}
	// CertFlag defines a flag for the node's TLS certificate.
	ClientStatsAPIURLFlag = &cli.StringFlag{
		Name:  "clientstats-api-url",
		Usage: "Full URL to the client stats endpoint where collected metrics should be sent.",
	}
	// CertFlag defines a flag for the node's TLS certificate.
	ScrapeIntervalFlag = &cli.DurationFlag{
		Name:  "scrape-interval",
		Usage: "Frequency of scraping expressed as a duration, eg 2m or 1m5s. Default is 60s.",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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