Skip to content

[pull] trunk from spiceai:trunk#759

Merged
pull[bot] merged 5 commits into
TheRakeshPurohit:trunkfrom
spiceai:trunk
Apr 20, 2026
Merged

[pull] trunk from spiceai:trunk#759
pull[bot] merged 5 commits into
TheRakeshPurohit:trunkfrom
spiceai:trunk

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 20, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

sgrebnov and others added 5 commits April 20, 2026 14:44
…10420)

* fix: Map Utf8/LargeUtf8 to STRING in Databricks/Spark SQL dialects

* Fix lint
Add an optional `prefix` field to `runtime.telemetry.otel_exporter` that
prepends a configurable string to every exported metric name. Useful for
namespacing Spice metrics in shared backends (e.g. Datadog) so they
don't collide with metrics from other services.

Example:

    runtime:
      telemetry:
        otel_exporter:
          endpoint: https://otlp.us3.datadoghq.com/v1/metrics
          headers:
            DD-API-KEY: ${secrets:dd_api_key}
          prefix: "spiceai."

With this config the runtime metric `query_duration_ms` is exported as
`spiceai.query_duration_ms`.

The prefix is implemented via an OpenTelemetry `View` on the runtime's
`SdkMeterProvider`, which renames every instrument at the SDK layer.
Because the View is provider-wide, the prefix also applies to the
Prometheus scrape endpoint and the cluster on-demand OTLP reader if
those are enabled in the same process. In typical deployments only one
metrics destination is configured at a time, so the prefix appears on
exactly the destination the user configured it for. This trade-off is
documented on the field.
Athena (Trino) doesn't support the `TEXT` type which is used by DataFusion as default `CustomDialect` type mapping for `LargeUtf8`

Fix by setting `.with_large_utf8_cast_dtype(Varchar(None))` on the Athena dialect so both `Utf8` and `LargeUtf8` map to `VARCHAR
Bumps the docker-dependencies group with 1 update: ubuntu.


Updates `ubuntu` from 22.04 to 24.04

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: '24.04'
  dependency-type: direct:production
  dependency-group: docker-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Apr 20, 2026
@pull pull Bot added the ⤵️ pull label Apr 20, 2026
@pull pull Bot merged commit a3728ab into TheRakeshPurohit:trunk Apr 20, 2026
0 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants