Skip to content

Commit 9931e7b

Browse files
committed
Update configuration doc with appropriate prometheus sink class
PrometheusPullModelSink class does not exist and leads to NoClassDefFound error
1 parent daadd72 commit 9931e7b

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)