Skip to content

Commit

Permalink
auth metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed Oct 20, 2023
1 parent 2d317dc commit dcc44d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (h APIHandler) RegisterRoutes() {
cluster.GET("/:cluster_name/resource/:namespace/:name/last-task-log", h.LastTaskLog)
cluster.GET("/:cluster_name/resource/:namespace/:name/generation/:generation/info", h.getWorkflowInfo)

metrics := preauth.Group("/metrics")
metrics := authenticatedAPIV1.Group("/metrics")
metrics.GET("/total/resources", h.TotalResources)
metrics.GET("/total/failed-resources", h.TotalFailedResources)

Expand Down

0 comments on commit dcc44d9

Please sign in to comment.