Documentation ¶
Overview ¶
package useragent provides a consistent way to get a user agent for outbound http requests from Grafana Alloy. The default User-Agent is `Alloy/VERSION (METADATA)`, where VERSION is the build version of Alloy and METADATA includes information about how Alloy was deployed.
Index ¶
Constants ¶
View Source
const (
ProductName = "Alloy"
)
Variables ¶
This section is empty.
Functions ¶
func GetDeployMode ¶
func GetDeployMode() string
GetDeployMode returns our best-effort guess at the way Grafana Alloy was deployed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.