From 60c0e2e31b63a052977fb1065c0a1342051a1dbc Mon Sep 17 00:00:00 2001 From: Pablo Carranza Date: Mon, 11 Jun 2018 09:37:37 +0200 Subject: [PATCH] Add pprof for further troubleshooting --- exporter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exporter.go b/exporter.go index 0878683..fe3bb55 100644 --- a/exporter.go +++ b/exporter.go @@ -12,6 +12,8 @@ import ( "github.com/hashicorp/nomad/api" "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" + + _ "net/http/pprof" ) // Exporter is a nomad exporter