utils

package
v0.0.0-...-409fc48 Latest Latest
Warning

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

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

Documentation

Overview

Package utils contains utils function for ndm features

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToFloat64

func BoolToFloat64(val bool) float64

BoolToFloat64 converts a true/false boolean into a 1.0 or 0.0 float

func CopyStrings

func CopyStrings(tags []string) []string

CopyStrings makes a copy of a list of strings

func GetAgentVersionTag

func GetAgentVersionTag() string

GetAgentVersionTag returns agent version tag

func GetCommonAgentTags

func GetCommonAgentTags() []string

GetCommonAgentTags returns commonly used Agent tags Add new tags with caution since it can add cardinality to metrics. This function might be used in multiple places.

Types

This section is empty.

Jump to

Keyboard shortcuts

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