Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string = "0.0.1"
Functions ¶
This section is empty.
Types ¶
type GetScriptResponse ¶
type GetScriptResponse struct { Actor struct { Account struct { Synthetics struct { Script struct { Text string `json:"text"` } `json:"script"` } `json:"synthetics"` } `json:"account"` } `json:"actor"` }
type GetStepsResponse ¶
type GetStepsResponse struct { Actor struct { Account struct { Synthetics struct { Steps []MonitorStep `json:"steps"` } `json:"synthetics"` } `json:"account"` } `json:"actor"` }
type MonitorEntity ¶
type MonitorEntity struct { GUID string `json:"guid"` Name string `json:"name"` MonitorType string `json:"monitorType"` MonitoredURL string `json:"monitoredUrl"` GoldenTags struct { Tags []MonitorTag `json:"tags"` } `json:"goldenTags"` Tags []MonitorTag `json:"tags"` }
type MonitorLookupResponse ¶ added in v0.4.0
type MonitorLookupResponse struct { Actor struct { Entities []MonitorEntity `json:"entities"` } `json:"actor"` }
type MonitorSearchResponse ¶ added in v0.4.0
type MonitorSearchResponse struct { Actor struct { EntitySearch struct { Results struct { Entities []MonitorEntity `json:"entities"` } `json:"results"` } `json:"entitySearch"` } `json:"actor"` }
type MonitorStep ¶
type MonitorTag ¶
type SyntheticExporterCommand ¶
type SyntheticExporterCommand struct { AccountID int `short:"i" required:"true" help:"The New Relic Account ID"` APIKey string `short:"k" required:"true" help:"An API Key for the New Relic Acccount ID"` MonitorID []string `` /* 126-byte string literal not displayed */ LocatorQuery string `short:"q" required:"true" xor:"locator" help:"The query used with NerdGraph to find monitors to export."` ParallelWorkers uint `short:"w" required:"true" default:"10" hidden:"true" help:"Number of monitors to export in parallel. Defaults to 10"` CreateAccountIdFile bool `short:"a" hidden:"true" default:"true"` // contains filtered or unexported fields }
func NewSyntheticExporterCommand ¶
func NewSyntheticExporterCommand(options ...newrelic.ConfigOption) *SyntheticExporterCommand
func (*SyntheticExporterCommand) Export ¶
func (s *SyntheticExporterCommand) Export(request plugin.ExportCommandRequest) (plugin.ExportResponse, error)
func (*SyntheticExporterCommand) Help ¶
func (s *SyntheticExporterCommand) Help() (string, error)
func (*SyntheticExporterCommand) Info ¶
func (s *SyntheticExporterCommand) Info() (plugin.CommandInfo, error)
Click to show internal directories.
Click to hide internal directories.