(check, metric_name, modifiers, global_options)
return gauge
https://prometheus.io/docs/concepts/metric_types/#gauge
    https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md#gauge-1
https://prometheus.io/docs/concepts/metric_types/#gauge
    https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md#gauge-1
https : // prometheus . io / docs / concepts / metric_types / #gauge https : // github . com / OpenObservability / OpenMetrics / blob / master / specification / OpenMetrics . md#gauge - 1
def get_gauge(check, metric_name, modifiers, global_options):
    """
    https://prometheus.io/docs/concepts/metric_types/#gauge
    https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md#gauge-1
    """
    gauge_method = check.gauge

    def gauge(metric, sample_data, runtime_data):
        for sample, tags, hostname in sample_data:
            gauge_method(metric_name, sample.value, tags=tags, hostname=hostname)

    del check
    del modifiers
    del global_options
    return gauge
def get_gauge ( check , metric_name , modifiers , global_options ) : gauge_method = check . gauge def gauge ( metric , sample_data , runtime_data ) : for sample , tags , hostname in sample_data : gauge_method ( metric_name , sample . value , tags = tags , hostname = hostname ) del check del modifiers del global_options return gauge