blackbox_exporter icon indicating copy to clipboard operation
blackbox_exporter copied to clipboard

Refactor proberHandler as an exported function

Open marctc opened this issue 1 year ago • 0 comments

We are in the process to add blackbox exporter in grafana agent as integration (https://github.com/grafana/agent/pull/1997). With the current layout is not possible to reuse any of the code that makes the exporter run.

This PR refactors probeHandler to be an exporter function of the probe package. There are not code changes, just moved things around.

marctc avatar Aug 09 '22 14:08 marctc