Skip to content

Commit

Permalink
update comments for recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik committed Feb 3, 2025
1 parent 4ce3fa1 commit dccdfca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/otelcollector/config/metric/gateway/processors.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ func inputSourceEquals(inputSourceType metric.InputSourceType) string {
}

func otlpInputSource() string {
// When instrumentation scope is not set to
// io.kyma-project.telemetry/runtime or io.kyma-project.telemetry/prometheus or io.kyma-project.telemetry/istio
// When instrumentation scope is not set to any of the following values
// io.kyma-project.telemetry/runtime, io.kyma-project.telemetry/prometheus, io.kyma-project.telemetry/istio, adn io.kyma-project.telemetry/kyma"

Check failure on line 244 in internal/otelcollector/config/metric/gateway/processors.go

View workflow job for this annotation

GitHub Actions / lint

`adn` is a misspelling of `and` (misspell)
// we assume the metric is being pushed directly to metrics gateway.
return fmt.Sprintf("not(%s or %s or %s or %s)",
ottlexpr.ScopeNameEquals(metric.InstrumentationScopeRuntime),
Expand Down

0 comments on commit dccdfca

Please sign in to comment.