Skip to content

Commit 3f43ca2

Browse files
Req 1.27 SemConv (#375)
* Req 1.26 SemConv * bump semconv * Format * otel http * sem conv in main * update deps * Update deps * Update instrumentation/opentelemetry_req/lib/opentelemetry_req.ex Co-authored-by: Greg Mefford <[email protected]> * Update instrumentation/opentelemetry_req/lib/opentelemetry_req.ex Co-authored-by: Greg Mefford <[email protected]> * Guard against multiple headers * Bump otel * moar pipes * Update docs around path params * Remove unused opt * Align opt-in attrs with other HTTP libs * Make RC and update changelog * Dialyzer and fixes --------- Co-authored-by: Greg Mefford <[email protected]>
1 parent 98d7010 commit 3f43ca2

File tree

6 files changed

+724
-156
lines changed

6 files changed

+724
-156
lines changed
Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,43 @@
11
# Changelog
22

3+
### 1.0.0-rc.1
4+
5+
### Features
6+
7+
- OpenTelemetry v1.27 support
8+
9+
### Breaking Changes
10+
11+
- Various HTTP Semantic Convention changes are included. One major change
12+
regards span naming. This may affect your observability tools when keying
13+
on span names. The key change there is the HTTP method is now a prefix, e.g. "GET /users/:user_id"
14+
315
## 0.2.0
416

517
### Fixes
618

7-
* Add support for Req v0.4
19+
- Add support for Req v0.4
820

9-
* Change http.url to follow [OpenTelemetry http spec](https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/http/#http-client).
21+
- Change http.url to follow [OpenTelemetry http spec](https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/http/#http-client).
1022

11-
* Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`
23+
- Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`
1224

13-
* Strip user credentials passed via URL
25+
- Strip user credentials passed via URL
1426

1527
## 0.1.2
1628

1729
### Fixes
1830

19-
* Fix ctx not being set back to parent upon completion
31+
- Fix ctx not being set back to parent upon completion
2032

2133
## 0.1.1
2234

2335
### Fixes
2436

25-
* Fix client span to be the ctx injected to headers
37+
- Fix client span to be the ctx injected to headers
2638

2739
## 0.1.0
2840

2941
### Features
3042

31-
* Initial release
32-
43+
- Initial release

instrumentation/opentelemetry_req/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ See [Docs](https://hex.pm/packages/opentelemetry_req) for usage instructions.
1212
```elixir
1313
def deps do
1414
[
15-
{:opentelemetry_req, "~> 0.2.0"}
15+
{:opentelemetry_req, "~> 1.0.0-beta.1"}
1616
]
1717
end
1818
```

0 commit comments

Comments
 (0)