Add prometheus metrics collectors for http handlers (#958)

* Add prometheus metrics exporter for http handlers

* Use prometheus from opencensus

* Add comment to unused func() param

* Add package names to operation description in observ package

* Sort exported/unexported functions
This commit is contained in:
Tomasz Tomalak
2018-12-20 10:19:22 +01:00
committed by Michal Pristas
parent 5eba6f2e47
commit fb696b2d84
109 changed files with 20538 additions and 14 deletions
+1
View File
@@ -222,6 +222,7 @@ func TestParseExampleConfig(t *testing.T) {
Storage: expStorage,
TraceExporterURL: "http://localhost:14268",
TraceExporter: "jaeger",
StatsExporter: "prometheus",
}
absPath, err := filepath.Abs(testConfigFile(t))