Documentation ¶
Overview ¶
Package newrelic_tigertonic provides metrics output to newrelic. based on https://github.com/yvasiyarov/gorelic
Index ¶
Constants ¶
View Source
const ( // DefaultNewRelicPollInterval - how often we will report metrics to NewRelic. // Recommended values is 60 seconds DefaultNewRelicPollInterval = 60 // DefaultPollIntervalInSeconds - how often we will get statistic // Default value is - every 10 seconds DefaultPollIntervalInSeconds = 10 // DefaultAgentGUID is plugin ID in NewRelic. // You should not change it unless you want to create your own plugin. DefaultAgentGUID = "com.rounds.TigerTonic" // CurrentAgentVersion is plugin version CurrentAgentVersion = "0.0.2" // DefaultAgentName in NewRelic GUI. You can change it. DefaultAgentName = "TigerTonic" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { NewrelicName string NewrelicLicense string NewrelicPollInterval int PollInterval int Verbose bool AgentGUID string AgentVersion string // contains filtered or unexported fields }
Agent - is NewRelic agent implementation. Agent start separate go routine which will report data to NewRelic
Click to show internal directories.
Click to hide internal directories.