Skip to content

Commit a545cb4

Browse files
committed
fix: correctly access application config
1 parent 74c9634 commit a545cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/otel_metric_exporter/otel_api.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ defmodule OtelMetricExporter.OtelApi do
5656

5757
def defaults,
5858
do:
59-
Application.get_env(:otel_metric_exporter, __MODULE__, [])
59+
Application.get_all_env(:otel_metric_exporter)
6060
|> Map.new()
6161
|> Map.take(Keyword.keys(@public_options))
6262

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule OtelMetricExporter.MixProject do
66
app: :otel_metric_exporter,
77
name: "OTel Metric Exporter",
88
description: "An unofficial OTel-compatible metric exporter",
9-
version: "0.3.1",
9+
version: "0.3.2",
1010
elixir: "~> 1.17",
1111
start_permanent: Mix.env() == :prod,
1212
source_url: "https://github.com/electric-sql/elixir-otel-metric-exporter",

0 commit comments

Comments
 (0)