discovery

package
v0.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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"

	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___")

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL