class ShellyplugExporter::Server

Overview

HTTP server formatting and returning metrics

Defined in:

shellyplug_exporter/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config) #

Instance Method Detail

def run : Nil #

Start a server for prometheus to retrieve metrics