Skip to content

Commit

Permalink
tweak markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
barend-xebia committed Oct 25, 2024
1 parent e1832a3 commit 7e4ac92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ This allows reporting tracing and metrics from any Spark or PySpark job to [Open

The recommended way to use Spot relies on [OpenTelemetry Autoconfigure][ot-auto] to obtain the OpenTelemetry configuration. You pass the `spot-complete-*.jar` to spark-submit to make Spot available to your job, and configure `spark.extraListeners` to enable it.

```bash
SCALA_VERSION=2.12 # This will be 2.12 or 2.13, whichever matches your Spark deployment.
spark-submit \
--jar com.xebia.data.spot.spot-complete_${SCALA_VERSION}-x.y.z.jar \
--conf spark.extraListeners=com.xebia.data.spot.TelemetrySparkListener \
com.example.MySparkJob
```diff
SCALA_VERSION=2.12 # This will be 2.12 or 2.13, whichever matches your Spark deployment.
spark-submit \
+ --jar com.xebia.data.spot.spot-complete_${SCALA_VERSION}-x.y.z.jar \
+ --conf spark.extraListeners=com.xebia.data.spot.TelemetrySparkListener \
com.example.MySparkJob
```

### Context Propagation
Expand Down

0 comments on commit 7e4ac92

Please sign in to comment.