detector

package
v0.0.0-...-bf516e3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package detector provides service metadata detection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceName

func GetServiceName(lang language.Language, ctx usm.DetectionContext) usm.ServiceMetadata

GetServiceName gets the service name based on the command line arguments and the list of environment variables.

Types

type ServiceMetadata

type ServiceMetadata struct {
	Name               string
	Language           string
	Type               string
	APMInstrumentation string
}

ServiceMetadata stores metadata about a service.

Jump to

Keyboard shortcuts

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