Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
V3ckt0r authored and Burhan Abdi committed Apr 21, 2019
1 parent 1ad1bd5 commit 43c6ea4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stats/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ const (
)

var (
//engine = *common.core.Engine
//metrics = 0
metrics = make([]v1.Metric, 0)
)

Expand All @@ -47,11 +45,9 @@ func HandlePrometheusMetrics() http.Handler {

//prometheus exporter
type Exporter struct {
URI string
mutex sync.Mutex
client *http.Client

//up *prometheus.Desc
vus *prometheus.Desc
vusMax *prometheus.Desc
iterations *prometheus.Desc
Expand All @@ -70,12 +66,6 @@ type Exporter struct {
// NewExporter returns an initialized Exporter.
func NewExporter() *Exporter {
return &Exporter{
//URI: uri,
/*up: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "up"),
"Could k6 be reached",
nil,
nil),*/
vus: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "vus_length"),
"Current number of active virtual users",
Expand Down

0 comments on commit 43c6ea4

Please sign in to comment.