Skip to content

Commit aaf1542

Browse files
ashangitdongjoon-hyun
authored andcommitted
[MINOR] Update configuration doc with appropriate prometheus sink class
### What changes were proposed in this pull request? Update configuration doc with appropriate prometheus sink class ### Why are the changes needed? PrometheusPullModelSink class does not exist and leads to NoClassDefFound error ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Just a doc change ### Was this patch authored or co-authored using generative AI tooling? No Closes #388 from ashangit/nfraison/prometheus. Authored-by: [email protected] <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 37bf26b commit aaf1542

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ to [Prometheus](https://prometheus.io).
115115

116116
```properties
117117
metrics.properties:|+
118-
spark.metrics.conf.operator.sink.prometheus.class=org.apache.spark.kubernetes.operator.metrics.
119-
sink.PrometheusPullModelSink
118+
spark.metrics.conf.operator.sink.prometheus.class=org.apache.spark.k8s.operator.metrics.PrometheusPullModelHandler
120119
```
121120

122121
* Install Spark Operator

0 commit comments

Comments
 (0)