Documentation
¶
Overview ¶
Copyright 2021 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksReport ¶
type ChecksReport struct {
Endpoints []EndpointReport `json:"endpoints,omitempty"`
}
type ConfigReport ¶
type ConfigReport struct {
ReachabilityTimeout string `json:"reachability_timeout,omitempty"`
}
ConfigReport configuration used for status report.
type EndpointReport ¶
type EndpointReport struct { URL string `json:"url"` Reachable bool `json:"reachable"` Error string `json:"error,omitempty"` }
EndpointReport represents a single backend endpoint reachability status.
type Report ¶
type Report struct { Checks *ChecksReport `json:"checks,omitempty"` Config *ConfigReport `json:"config,omitempty"` }
Report agent status report. It contains: - checks:
- backend endpoints reachability statuses
- configuration fields will be empty when ReportErrors() report no errors.
type ReportEntity ¶
type ReportEntity struct {
GUID string `json:"guid"`
}
ReportEntity agent entity report.
Click to show internal directories.
Click to hide internal directories.