Skip to content

Conversation

@edgurgel
Copy link
Member

What kind of change does this PR introduce?

It sets up opentelemetry for phoenix, ecto and cowboy.

  • No custom traces are added.
  • Span attributes are set for request_id and external_id

What is the current behavior?

No Opentelemetry.

What is the new behavior?

Basic opentelemetry for phoenix requests

Additional context

The first step of the original PR here: #1378

@edgurgel edgurgel requested a review from filipecabaco May 27, 2025 22:57
@vercel
Copy link

vercel bot commented May 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
realtime-demo ⬜️ Ignored (Inspect) Visit Preview May 29, 2025 0:17am

@coveralls
Copy link

coveralls commented May 27, 2025

Coverage Status

coverage: 83.574% (-0.09%) from 83.661%
when pulling 0b87e5f on feat/opentelemetry-setup
into 16a2af1 on main.

@edgurgel edgurgel force-pushed the feat/opentelemetry-setup branch from f47e865 to 4f65d43 Compare May 28, 2025 23:07
run: mix hex.audit
- name: Run mix_audit
run: mix deps.audit --ignore-advisory-ids GHSA-vq52-99r9-h5pw
run: mix deps.audit --ignore-advisory-ids GHSA-vq52-99r9-h5pw,GHSA-9fm9-hp7p-53mf
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency doesn't seem to be used so no risk here. To be removed here #1390

edgurgel added 2 commits May 29, 2025 12:16
It sets up opentelemetry for phoenix, ecto and cowboy.

* No custom traces are added.
* Span attributes are set for request_id and external_id

update version
@edgurgel edgurgel force-pushed the feat/opentelemetry-setup branch from 81e827f to 0b87e5f Compare May 29, 2025 00:16
@edgurgel edgurgel merged commit c9683f3 into main May 29, 2025
5 of 7 checks passed
@edgurgel edgurgel deleted the feat/opentelemetry-setup branch May 29, 2025 00:38
@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.36.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants