Skip to content

Commit

Permalink
fix(syslogng_servicemonitor): add missing fields from syslogng-spec
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 committed Oct 20, 2024
1 parent dacc913 commit b0de79e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/resources/syslogng/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ func (r *Reconciler) monitorServiceMetrics() (runtime.Object, reconciler.Desired
PodTargetLabels: nil,
Endpoints: []v1.Endpoint{{
Port: "http-metrics",
Path: "/metrics",
Interval: "15s",
ScrapeTimeout: "5s",
Path: r.syslogNGSpec.Metrics.Path,
Interval: v1.Duration(r.syslogNGSpec.Metrics.Interval),
ScrapeTimeout: v1.Duration(r.syslogNGSpec.Metrics.Timeout),
HonorLabels: r.syslogNGSpec.Metrics.ServiceMonitorConfig.HonorLabels,
RelabelConfigs: r.syslogNGSpec.Metrics.ServiceMonitorConfig.Relabelings,
TLSConfig: r.syslogNGSpec.Metrics.ServiceMonitorConfig.TLSConfig,
Expand Down

0 comments on commit b0de79e

Please sign in to comment.