Skip to content

Commit

Permalink
removed unused metric
Browse files Browse the repository at this point in the history
  • Loading branch information
KalmanMeth committed Mar 12, 2023
1 parent 0db12db commit d5acdf3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions docs/operational-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ Each table below provides documentation for an exported flowlogs-pipeline operat
| **Labels** | error, metric, key |


### encode_prom_metrics_reported
| **Name** | encode_prom_metrics_reported |
|:---|:---|
| **Description** | Total number of prometheus metrics reported by this stage |
| **Type** | gauge |
| **Labels** | stage |


### ingest_batch_size_bytes
| **Name** | ingest_batch_size_bytes |
|:---|:---|
Expand Down
6 changes: 0 additions & 6 deletions pkg/pipeline/encode/encode_prom.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ var (
operational.TypeCounter,
"error", "metric", "key",
)
mChacheLen = operational.DefineMetric(
"encode_prom_metrics_reported",
"Total number of prometheus metrics reported by this stage",
operational.TypeGauge,
"stage",
)
)

// Encode encodes a metric before being stored
Expand Down

0 comments on commit d5acdf3

Please sign in to comment.