doubleQuoteString

Ensures a given string is surrounded by double quotes, correcting partial quotes.

Used to safely encode label values in Prometheus exposition format.

Return

The input string enclosed in double quotes.

Parameters

s

The input string.