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 Feb 29, 2024
1 parent fb91987 commit d452dce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/controller/spinapp_executor_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (
)

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

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

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

Expand Down

0 comments on commit d452dce

Please sign in to comment.