useragent

package
v0.39.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

package useragent provides a consistent way to get a user agent for outbound http requests from Grafana Agent. The default User-Agent is `GrafanaAgent/$VERSION($MODE)` Where version is the build version of the agent and MODE is one of "static" or "flow".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() string

func GetDeployMode added in v0.38.1

func GetDeployMode() string

GetDeployMode returns our best-effort guess at the way Grafana Agent was deployed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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