Commit Graph

165 Commits

Author SHA1 Message Date
Bryan Naegele c268d987e3
Update max and min supported versions post OTP 26 and Elixir 1.16 releases (#256)
* Update max and min supported versions post OTP 26 and Elixir 1.16 releases
2024-01-17 11:23:48 -07:00
Bryan Naegele f34f95fff2
Update cowboy to opentelemetry_api 1.2 (#230)
* Update to opentelemetry_api 1.2

* Fix application deps
2024-01-17 11:11:09 -07:00
Bryan Naegele 96a6457077
Update to opentelemetry_api 1.2 (#229) 2024-01-17 11:09:11 -07:00
Bryan Naegele 18dfcadb07
Update to opentelemetry_api 1.2 (#231) 2024-01-17 11:07:04 -07:00
renovate[bot] 0b22da6fef
chore(deps): update actions/cache action to v4 (#255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 10:08:42 -07:00
Bryan Naegele 8af382e26a
Update renovate.json 2023-12-11 10:41:21 -07:00
Bryan Naegele c03229de5f
Update labeler.yml 2023-12-11 10:37:00 -07:00
Bryan Naegele 8407ad98bd
Update to opentelemetry_api 1.2 (#232)
Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-12-01 13:48:32 -07:00
dependabot[bot] 1e38926904
Bump semver from 7.5.1 to 7.5.4 in /examples/roll_dice_elli (#217)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.4)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:19:36 -07:00
renovate[bot] e4fc50d5e5
chore(deps): update postgres docker tag to v16 (#242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bryan Naegele <bryannaegele@users.noreply.github.com>
2023-11-15 11:14:43 -07:00
renovate[bot] 06278d7e9a
chore(deps): update postgres docker tag to v13.13 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 11:00:46 -07:00
Bryan Naegele 1bf2f7f295
Req v0.2.0 (#243) 2023-11-10 17:03:08 -07:00
renovate[bot] 7a8f87d5bb
chore(deps): update dependency ubuntu to v22 (#241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 09:20:36 -07:00
Bryan Naegele 5bf935bd3c
Don't package dataloader (#240) 2023-11-10 09:17:06 -07:00
renovate[bot] 778ebf6ab3
chore(deps): update actions/checkout action to v4 (#238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 22:09:50 -07:00
Tristan Sloughter fa7ba30ca8
fix elli readme excluded_paths doc (#174) 2023-11-09 22:04:01 -07:00
renovate[bot] 3aa8329d99
chore(deps): update dependency dialyxir to ~> 1.4.0 (#226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 22:01:04 -07:00
renovate[bot] 8bd3cc8c7a
chore(deps): update circleci/postgres docker tag to v13.5 (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 21:38:34 -07:00
renovate[bot] 473f27aea9
chore(deps): update postgres docker tag to v13.12 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 21:37:36 -07:00
renovate[bot] f3c25630a6
chore(deps): update actions/cache action to v3 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 21:33:23 -07:00
renovate[bot] f87d07990f
chore(deps): update dependency finch to ~> 0.16 (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 21:30:02 -07:00
Bryan Naegele 9fd5f14e2a
Update elixir-test-matrix.json (#228)
* Update elixir-test-matrix.json

* Update erlang-test-matrix.json
2023-11-09 19:56:35 -07:00
renovate[bot] c4f07a24a9
Configure Renovate (#223)
* Add renovate.json

* Update renovate.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bryan Naegele <bryannaegele@users.noreply.github.com>
2023-11-09 19:02:23 -07:00
Bryan Naegele 7d50d86b95
Revert "chore: run propagator dialyzer on CI (#202)" (#224)
This reverts commit 97d13c39b7.
2023-11-09 18:28:51 -07:00
Derek Kraan 5caf10ae82
Add tests to cover new liveview integration (#221) 2023-11-09 18:20:07 -07:00
rlopzc 66326e7f42
Update Oban's README.md (#222)
The published version is 1.0.0

https://hex.pm/packages/opentelemetry_oban
2023-11-09 16:53:32 -07:00
João Thallis 97d13c39b7
chore: run propagator dialyzer on CI (#202)
* chore: run propagator dialyzer on CI

* Format using Elixir 1.15.6

* Support only Elixir ~> 1.12

It is necessary because :dialyxir requires Elixir ">= 1.12.0"

---------

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-11-09 02:26:29 -07:00
Bryan Naegele 5be23037ce
Update Req deps (#216) 2023-11-04 12:34:53 -06:00
Bryan Naegele 5b5f80ee41
Create repository-settings.md 2023-11-04 11:54:08 -06:00
Marc Delagrammatikas c7edb8a48c
Dice game example (#173)
* generate a phoenix API only project

* adds /api/rolldice endpoint and opentelemetry configuration

* change span attribute name to match implementations in other langs

---------

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-10-27 13:23:07 -06:00
Bernardo Amorim e62612fca1
Fix documentation example for OpentelemetryProcessPropagator (#220)
The example calling `OpentelemetryProcessPropagator.fetch_parent_ctx` was passing the key to the `/1` arity function, which is not the argument it expects. To specify the key you also need to specify the depth first, using the `/2` arity function: `OpentelemetryProcessPropagator.fetch_parent_ctx(depth, key)`
2023-10-24 19:32:44 -06:00
Dave Lucia 652d06bfce
Fix tiny typos (#219) 2023-10-17 20:42:12 -06:00
Bryan Naegele 91928b3486
Forgot the paths don't support globs (#215) 2023-10-16 15:12:41 -06:00
Wojtek Mach e1f4a02d5e
opentelemetry_req: Don't assume `request.headers` shape (#193)
* opentelemetry_req: Don't assume `request.headers` shape

* Update instrumentation/opentelemetry_req/test/opentelemetry_req_test.exs

---------

Co-authored-by: Bryan Naegele <bryannaegele@users.noreply.github.com>
2023-10-16 14:40:01 -06:00
Bryan Naegele 24e823cd23
Revert span name change to pre-1.18 spec (#214) 2023-10-16 14:16:40 -06:00
Bryan Naegele 318c68d63d
Tesla 2.3.0 (#213) 2023-10-16 13:30:40 -06:00
Artem Solomatin 4250e0b99f
Fixup doc version and typo (#211) 2023-10-03 07:39:45 -06:00
Tristan Sloughter bcf5f600d5
add roll dice example in Erlang with Elli (#177)
* add roll dice example in Erlang with Elli

* cleanup index page template formatting

* fix index/1 type spec

* remove index.js which gets compiled by npm

* roll dice: use 127.0.0.1 for node name to work for everyone
2023-10-02 08:00:45 -06:00
Rich Morin 5c2c6906ca
Update README.md (#209)
fix typo
2023-09-28 12:57:30 -06:00
Tom Taylor 8068002c17
Include `db.system` attribute in `opentelemetry_ecto` (#187)
* Run mix format

* Upgrade dependencies to build on OTP 26

* Add db.system attribute

* Add support for mssql and fallback to other_sql

* Fallback to not including db_system if adapter is unrecognised

---------

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-09-23 05:56:42 -06:00
Bryan Naegele 98d0bab4a9
Remove telemetry registry, fix broken log, update tests (#207)
* Remove telemetry registry, fix broken log, update tests

* Fix rebar and otp versions

* Specific rebar3

* Roll back dialyxir
2023-09-16 09:51:50 -06:00
Bryan Naegele 02202fb780
Add strict version type for setup-beam (#206) 2023-09-16 09:17:35 -06:00
Bryan Naegele 596fcbc2cb
Handle empty stack (#205)
* Update otel_telemetry.erl

* Add debug log (#204)
2023-09-12 19:28:53 -06:00
Bryan Naegele 6a143eeccf
Update release-drafter.yml (#203) 2023-09-06 03:59:09 -06:00
Bryan Naegele 018efed93a
Release drafting (#200) 2023-09-05 09:38:49 -06:00
Tom Taylor 17d31cc594
Improve test matrix and add support for Elixir 1.15 and OTP 26 (#188)
* Use test matrix from file

* Only check formatting on specific Elixir version

* Use latest patch version of each Elixir/OTP release in test matrix

* Test on Elixir 1.15 and OTP 26

* Run formatter on opentelemetry_httpoison

* Run formatter on opentelemetry_phoenix

* Run formatter on opentelemetry_tesla

* Fix building opentelemetry_ecto on Elixir 1.15

Upgraded deps to fix ssl_verify_fun not compiling

* Fix building opentelemetry_dataloader on Elixir 1.15

Upgraded deps to fix ssl_verify_fun and ecto_sql not compiling

* Upgrade opentelemetry_finch to build on Elixir 1.15

* Upgrade opentelemetry_httpoison deps to build on 1.15

* Upgrade opentelemetry_nebulex to build on Elixir 1.15

* Upgrade opentelemetry_oban to build on Elixir 1.15

* Upgrade opentelemetry_phoenix deps to build on 1.15

* Upgrade opentelemetry_redix deps to build on 1.15

* Fix warning about <> being ambiguous

* Fix assertion on attributes keys

These are always atoms, not strings.

* Upgrade ssl_verify_fun in opentelemetry_telemetry

* Deterministically sort keys before asserting in tests

* Upgrade opentelemetry_process_propogator to build on Elixir 1.15

* Run mix format on opentelemetry_process_propogator

* Assert keys are atoms, not strings

* Use matrix.os to define runs-on parameter

* Pin test matrix to specific OTP + Elixir versions

* Run formatter on telemetry and process_propagator

* Run formatter over opentelemetry_phoenix

---------

Co-authored-by: Tristan Sloughter <t@crashfast.com>
2023-08-25 14:11:23 -06:00
Derek Kraan 79aae558fe
Add the ability to trace Liveviews to the Phoenix instrumentation (#198) 2023-08-23 05:35:31 -06:00
Bryan Naegele 0b6ccafab5
Relax Req's elixir version (#196)
Failing on the test matrix update PR.
2023-08-22 10:13:32 -06:00
Wojtek Mach 5380a94bc9
opentelemetry_req: Don't assume `request.options` is a map (#192) 2023-08-18 16:29:00 -06:00
Alberto Sartori e2faad163c
Add codeowner for utilities/opentelemetry_instrumentation_http (#191)
* Add codeowner for utilities/opentelemetry_instrumentation_http

* Update CODEOWNERS

---------

Co-authored-by: Bryan Naegele <bryannaegele@users.noreply.github.com>
2023-08-18 15:32:03 -06:00