resource

package
v0.0.0-...-31fe15a Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package resource provides application-level resource attributes for telemetry purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRunningOnCI

func IsRunningOnCI() bool

IsRunningOnCI returns true if the current process is running on a CI/CD provider.

func MachineId

func MachineId() string

MachineId returns a unique ID for the machine.

func New

func New() *resource.Resource

New creates a resource with all application-level fields populated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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