Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set env vars for lila-search #134

Merged
merged 2 commits into from
Jan 1, 2025
Merged

Set env vars for lila-search #134

merged 2 commits into from
Jan 1, 2025

Conversation

fitztrev
Copy link
Member

@fitztrev fitztrev commented Jan 1, 2025

Fixes

[error] The configurer for the [otlp] exporter is not registered.
[error] Add the `otel4s-sdk-exporter` dependency to the build file:
[error] libraryDependencies += "org.typelevel" %%% "otel4s-sdk-exporter" % "x.x.x"
[error] and register the configurer via OpenTelemetrySdk:
[error] import org.typelevel.otel4s.sdk.OpenTelemetrySdk
[error] import org.typelevel.otel4s.sdk.exporter.otlp.autoconfigure.OtlpExportersAutoConfigure
[error] OpenTelemetrySdk.autoConfigured[IO](
[error]   _.addExportersConfigurer(OtlpExportersAutoConfigure[IO])
[error] )
[error] or via SdkMetrics:
[error] import org.typelevel.otel4s.sdk.metrics.SdkMetrics
[error] import org.typelevel.otel4s.sdk.exporter.otlp.metrics.autoconfigure.OtlpMetricExporterAutoConfigure
[error] SdkMetrics.autoConfigured[IO](
[error]   _.addExporterConfigurer(OtlpMetricExporterAutoConfigure[IO])
[error] )
[error] org.typelevel.otel4s.sdk.autoconfigure.AutoConfigureError: Cannot autoconfigure [MetricExporters].
[error] Cause: Unrecognized value for [otel.metrics.exporter]: otlp. Supported options [none, console].

@fitztrev fitztrev requested a review from lenguyenthanh January 1, 2025 13:48
@fitztrev fitztrev merged commit 246211f into main Jan 1, 2025
4 checks passed
@fitztrev fitztrev deleted the lila-search-env branch January 1, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants