# Functions
AddProtocolPrefix adds prefix "http://" to the URL if it does not already start with "http://" or "https://".
Coalesce returns the first non-zero value from the two provided arguments.
Contains checks if the slice s contains any of the values v.
CopyMap creates a shallow copy of the map.
FormatCounterMetricValue formats an int64 counter metric value as a string.
FormatGaugeMetricValue formats a float64 gauge metric value as a string.
NewRandom is constructor for creating an instance of Random.
ValidateHostnamePort checks if the given string is in the format "hostname:port".