Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultEndpoint is the default address for the analytics collector.
DefaultEndpoint = "otlp.ncps.dev:443"
)
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶ added in v0.6.3
func NewResource( ctx context.Context, serviceName, serviceVersion, schemaURL string, extraAttrs ...attribute.KeyValue, ) (*resource.Resource, error)
NewResource creates a new OpenTelemetry resource with standard attributes but WITHOUT hostname and process owner to preserve anonymity.
Types ¶
Click to show internal directories.
Click to hide internal directories.