Skip to content

Commit

Permalink
chore(sync-service): Change stack_id to source_id in open telemetry e…
Browse files Browse the repository at this point in the history
…xport (#2346)
  • Loading branch information
robacourt authored Feb 17, 2025
1 parent a796d0e commit 2f6452c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/red-schools-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@core/sync-service": patch
---

Change stack_id to source_id in open telemetry export
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Electric.Telemetry.StackTelemetry do
name: :"stack_otel_telemetry_#{opts.stack_id}",
metrics: otel_metrics(opts),
export_period: :timer.seconds(30),
resource: %{stack_id: opts.stack_id}}
resource: %{source_id: opts.stack_id}}
end

defp otel_reporter_child_spec(_), do: nil
Expand Down

0 comments on commit 2f6452c

Please sign in to comment.