Skip to content

Commit cff2272

Browse files
authored
Bump version 1.35.0 (#525)
1 parent d7848a3 commit cff2272

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
## CHANGELOG
22

3+
### `v1.35.0`
4+
5+
#### Features
6+
* Add extended attributes for manual macro spans [#517](https://github.com/newrelic/elixir_agent/pull/517)
7+
8+
#### Fixes
9+
* Fix bandit duration with exception [#524](https://github.com/newrelic/elixir_agent/pull/524)
10+
* Fix bandit error reporting [#523](https://github.com/newrelic/elixir_agent/pull/523)
11+
12+
#### Tweaks
13+
* Increase resolution of finch request duration [#518](https://github.com/newrelic/elixir_agent/pull/518)
14+
15+
------
16+
317
### `v1.34.0`
418

519
#### Fixes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.34.0
1+
1.35.0

test/custom_event_test.exs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,8 @@ defmodule CustomEventTest do
110110

111111
metrics = TestHelper.gather_harvest(Collector.Metric.Harvester)
112112

113-
assert TestHelper.find_metric(
114-
metrics,
115-
"Supportability/Elixir/Collector/HarvestSeen/CustomEventData"
116-
)
117-
118-
assert TestHelper.find_metric(
119-
metrics,
120-
"Supportability/Elixir/Collector/HarvestSize/CustomEventData"
121-
)
113+
assert TestHelper.find_metric(metrics, "Supportability/Elixir/Collector/HarvestSeen/CustomEventData", :any)
114+
assert TestHelper.find_metric(metrics, "Supportability/Elixir/Collector/HarvestSize/CustomEventData")
122115
end
123116

124117
test "Handle non-serializable attribute values" do

test/support/test_helper.ex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ defmodule TestHelper do
4747
end)
4848
end
4949

50+
def find_metric(metrics, name, :any) do
51+
Enum.find(metrics, fn
52+
[%{name: ^name, scope: ""}, [_, _, _, _, _, _]] -> true
53+
_ -> false
54+
end)
55+
end
56+
5057
def find_metric(metrics, name, call_count) do
5158
Enum.find(metrics, fn
5259
[%{name: ^name, scope: ""}, [^call_count, _, _, _, _, _]] -> true

0 commit comments

Comments
 (0)