Skip to content

Commit 31cbfb1

Browse files
authored
chore: remove RW_METRICS_LEVEL env (#500)
* chore: update RW_METRICS_LEVEL env to 'info' * chore: update RW_METRICS_LEVEL env to 'info' * chore: remove RW_METRICS_LEVEL env
1 parent 8d76221 commit 31cbfb1

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

pkg/factory/envs/risingwave.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const (
3838
RWBackend = "RW_BACKEND"
3939
RWMetaAddr = "RW_META_ADDR"
4040
RWMetaAddrLegacy = "RW_META_ADDRESS" // Will deprecate soon.
41-
RWMetricsLevel = "RW_METRICS_LEVEL"
4241
RWPrometheusListenerAddr = "RW_PROMETHEUS_LISTENER_ADDR"
4342
RWParallelism = "RW_PARALLELISM"
4443
RWTotalMemoryBytes = "RW_TOTAL_MEMORY_BYTES"

pkg/factory/risingwave_object_factory.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@ func (f *RisingWaveObjectFactory) envsForFrontendArgs() []corev1.EnvVar {
415415
Name: envs.RWMetaAddrLegacy,
416416
Value: fmt.Sprintf("load-balance+http://%s:%d", f.componentAddr(consts.ComponentMeta, ""), consts.MetaServicePort),
417417
},
418-
{
419-
Name: envs.RWMetricsLevel,
420-
Value: "1",
421-
},
422418
{
423419
Name: envs.RWPrometheusListenerAddr,
424420
Value: fmt.Sprintf("0.0.0.0:%d", consts.FrontendMetricsPort),
@@ -448,10 +444,6 @@ func (f *RisingWaveObjectFactory) envsForComputeArgs(cpuLimit int64, memLimit in
448444
Name: envs.RWMetaAddrLegacy,
449445
Value: fmt.Sprintf("load-balance+http://%s:%d", f.componentAddr(consts.ComponentMeta, ""), consts.MetaServicePort),
450446
},
451-
{
452-
Name: envs.RWMetricsLevel,
453-
Value: "1",
454-
},
455447
{
456448
Name: envs.RWConnectorRPCEndPoint,
457449
Value: fmt.Sprintf("%s:%d", f.componentAddr(consts.ComponentConnector, ""), consts.ConnectorServicePort),
@@ -505,10 +497,6 @@ func (f *RisingWaveObjectFactory) envsForCompactorArgs() []corev1.EnvVar {
505497
Name: envs.RWMetaAddrLegacy,
506498
Value: fmt.Sprintf("load-balance+http://%s:%d", f.componentAddr(consts.ComponentMeta, ""), consts.MetaServicePort),
507499
},
508-
{
509-
Name: envs.RWMetricsLevel,
510-
Value: "1",
511-
},
512500
}
513501
}
514502

0 commit comments

Comments
 (0)