aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/heroku/x/hmetrics/onload/init.go
blob: d6fb49d9ebece392cc751cc45b165909a64efc58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
package onload automatically starts up the hmetrics reporting.

Use this package when you don't care about shutting down them metrics reporting or being notified of any reporting
errors.

usage:

import (
	_ "github.com/heroku/x/hmetrics/onload"
)

*/

package onloads

import (
	"context"

	"github.com/heroku/x/hmetrics"
)

func init() {
	hmetrics.Report(context.Background(), nil)
}