Skip to content

Commit

Permalink
add doc on top of info metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Mar 1, 2024
1 parent fb91987 commit b18aa69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controller/spinapp_executor_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
)

type spinAppExecutorMetrics struct {
// Record executor metadata as info metric.
// This is particularly useful for querying
// available executor names for creating dashboards
infoGauge *prometheus.GaugeVec
}

Expand Down
3 changes: 3 additions & 0 deletions internal/controller/spinapp_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
)

type spinAppMetrics struct {
// Record spinapp metadata as info metric.
// This is particularly useful for querying
// available app names for creating dashboards
infoGauge *prometheus.GaugeVec
}

Expand Down

0 comments on commit b18aa69

Please sign in to comment.