package
1.8.12
Repository: https://github.com/protonmail/proton-bridge.git
Documentation: pkg.go.dev

# Functions

New returns a metric struct with the given category, action and label.

# Constants

Daily is a daily signal that indicates continued bridge usage.
Export is used to group export metrics.
FirstStart signifies that the bridge has been started for the first time on a user's machine (or at least, no config directory was found).
Heartbeat is used to group heartbeat metrics e.g.
Import is used to group import metrics.
NewUser signifies a new user account has been added to the bridge.
No description provided by the author
Setup is used to group metrics related to bridge setup e.g.
TransferCancel signifies cancelled transfer by an user.
TransferComplete signifies completed transfer without crash.
TransferFail signifies stopped transfer because of an fatal error.
TransferLoad signifies that the transfer load source.
TransferStart signifies started transfer.

# Structs

Metric represents a single metric that can be reported and contains the necessary fields of category, action and label that the /metrics endpoint expects.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author