Skip to content

Commit 1cf73ef

Browse files
committed
fix: toggle enabled to false by default
1 parent 5418e6d commit 1cf73ef

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ add-image-targetallocator:
190190

191191
.PHONY: add-instrumentation-params
192192
add-instrumentation-params:
193+
@$(MAKE) add-operator-arg OPERATOR_ARG=--enable-deno-instrumentation=true
193194
@$(MAKE) add-operator-arg OPERATOR_ARG=--enable-go-instrumentation=true
194195

195196
.PHONY: add-multi-instrumentation-params

config/overlays/openshift/manager-patch.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- --zap-time-encoding=rfc3339nano
88
- --enable-nginx-instrumentation=true
99
- '--enable-go-instrumentation=true'
10+
- '--enable-deno-instrumentation=true'
1011
- '--openshift-create-dashboard=true'
1112
- '--feature-gates=+operator.observability.prometheus'
1213
- '--enable-cr-metrics=true'

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func main() {
164164
pflag.BoolVar(&enablePythonInstrumentation, constants.FlagPython, true, "Controls whether the operator supports python auto-instrumentation")
165165
pflag.BoolVar(&enableNginxInstrumentation, constants.FlagNginx, false, "Controls whether the operator supports nginx auto-instrumentation")
166166
pflag.BoolVar(&enableNodeJSInstrumentation, constants.FlagNodeJS, true, "Controls whether the operator supports nodejs auto-instrumentation")
167-
pflag.BoolVar(&enableDenoInstrumentation, constants.FlagDeno, true, "Controls whether the operator supports Deno auto-instrumentation")
167+
pflag.BoolVar(&enableDenoInstrumentation, constants.FlagDeno, false, "Controls whether the operator supports Deno auto-instrumentation")
168168
pflag.BoolVar(&enableJavaInstrumentation, constants.FlagJava, true, "Controls whether the operator supports java auto-instrumentation")
169169
pflag.BoolVar(&enableCRMetrics, constants.FlagCRMetrics, false, "Controls whether exposing the CR metrics is enabled")
170170

0 commit comments

Comments
 (0)