Documentation ¶
Index ¶
Constants ¶
View Source
const ( EndpointIDAttr = "discovery.endpoint.id" ObserverIDAttr = "discovery.observer.id" ReceiverConfigAttr = "discovery.receiver.config" ReceiverNameAttr = "discovery.receiver.name" ReceiverTypeAttr = "discovery.receiver.type" StatusAttr = "discovery.status" MessageAttr = "discovery.message" OtelEntityTypeAttr = "otel.entity.type" OtelEntityAttributesAttr = "otel.entity.attributes" OtelEntityIDAttr = "otel.entity.id" OtelEntityEventTypeAttr = "otel.entity.event.type" OtelEntityEventTypeState = "entity_state" OtelEntityEventTypeDelete = "entity_delete" OtelEntityEventAsLogAttr = "otel.entity.event_as_log" DiscoExtensionsKey = "extensions/splunk.discovery" DiscoReceiversKey = "receivers/splunk.discovery" )
Variables ¶
View Source
var NoType = component.MustNewID("SENTINEL_FOR_DISCOVERY_RECEIVER___")
View Source
var StatusTypes = []StatusType{Successful, Partial, Failed}
Functions ¶
func IsValidStatus ¶
func IsValidStatus(status StatusType) (bool, error)
Types ¶
type StatusType ¶
type StatusType string
const ( Successful StatusType = "successful" Partial StatusType = "partial" Failed StatusType = "failed" )
Click to show internal directories.
Click to hide internal directories.