Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtConfig ¶
type ExtConfig struct { Groups []transit.ResourceGroup `json:"groups"` Resources []Resource `json:"resources"` Services []string `json:"services"` CheckInterval time.Duration `json:"checkIntervalMinutes"` Ownership transit.HostOwnershipType `json:"ownership,omitempty"` }
ExtConfig defines the MonitorConnection extensions configuration
func (*ExtConfig) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
type PromParser ¶
func (*PromParser) Parse ¶
func (p *PromParser) Parse(buf []byte, withFilters bool, resource string) (map[string]*dto.MetricFamily, error)
type Resource ¶
type Resource struct { Headers map[string]string `json:"headers"` URL string `json:"url"` DefaultHost string `json:"defaultHost"` DefaultHostGroup string `json:"defaultHostGroup"` }
Resource defines APM Source
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.