Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
  • Loading branch information
hugoShaka and codingllama committed Jan 9, 2025
1 parent 5f87836 commit 7be0540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ type TeleportProcess struct {
// the proxy.
resolver reversetunnelclient.Resolver

// metricRegistry is the protmetheus metric registry for the process.
// metricRegistry is the prometheus metric registry for the process.
// Every teleport service that wants to register metrics should use this
// instead of the global prometheus.DefaultRegisterer to avoid registration
// conflicts.
Expand Down
2 changes: 1 addition & 1 deletion lib/service/servicecfg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ type Config struct {
// MetricsRegistry is the prometheus metrics registry used by the Teleport process to register its metrics.
// As of today, not every Teleport metric is registered against this registry. Some Teleport services
// and Teleport dependencies are using the global registry.
// Both the MetricsRegistry and the default global registry are gathered by Telpeort's metric service.
// Both the MetricsRegistry and the default global registry are gathered by Teleport's metric service.
MetricsRegistry *prometheus.Registry

// token is either the token needed to join the auth server, or a path pointing to a file
Expand Down

0 comments on commit 7be0540

Please sign in to comment.