Skip to content

Commit

Permalink
Merge pull request #9 from shijl0925/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
shijl0925 authored Aug 1, 2024
2 parents 51ef589 + 2623373 commit 66fc1b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sonarqube/monitoring/monitoring_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package monitoring
/*
MetricsRequest Return monitoring metrics in Prometheus format.
Support content type 'text/plain' (default) and 'application/openmetrics-text'.
this endpoint can be access using a Bearer token, that needs to be defined in sonar.properties with the 'sonar.web.systemPasscode' key.
This endpoint can be accessed using a Bearer token, which needs to be defined in sonar.properties with the 'sonar.web.systemPasscode' key.
*/
type MetricsRequest struct{}

Expand Down
2 changes: 1 addition & 1 deletion sonarqube/monitoring_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Monitoring service

// Metrics - Return monitoring metrics in Prometheus format.
// Support content type 'text/plain' (default) and 'application/openmetrics-text'.
// this endpoint can be access using a Bearer token, that needs to be defined in sonar.properties with the 'sonar.web.systemPasscode' key.
// This endpoint can be accessed using a Bearer token, which needs to be defined in sonar.properties with the 'sonar.web.systemPasscode' key.
// Since 9.3
func (s *Monitoring) Metrics(ctx context.Context, r monitoring.MetricsRequest) (*monitoring.MetricsResponse, *http.Response, error) {
u := fmt.Sprintf("%s/metrics", s.path)
Expand Down

0 comments on commit 66fc1b7

Please sign in to comment.