Skip to content

Commit 0500c53

Browse files
committed
feat: bump apm-data for grouping key changes
keep md5 in 8.x for backward compatibility
1 parent 3cd7dc3 commit 0500c53

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

NOTICE.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ these terms.
393393

394394
--------------------------------------------------------------------------------
395395
Dependency : github.com/elastic/apm-data
396-
Version: v1.15.0
396+
Version: v1.16.0
397397
Licence type (autodetected): Apache-2.0
398398
--------------------------------------------------------------------------------
399399

400-
Contents of probable licence file $GOMODCACHE/github.com/elastic/apm-data@v1.15.0/LICENSE:
400+
Contents of probable licence file $GOMODCACHE/github.com/elastic/apm-data@v1.16.0/LICENSE:
401401

402402
Apache License
403403
Version 2.0, January 2004

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/dgraph-io/badger/v2 v2.2007.4
99
github.com/dustin/go-humanize v1.0.1
1010
github.com/elastic/apm-aggregation v1.2.0
11-
github.com/elastic/apm-data v1.15.0
11+
github.com/elastic/apm-data v1.16.0
1212
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250102181502-1f91ed31767d
1313
github.com/elastic/elastic-agent-client/v7 v7.17.0
1414
github.com/elastic/elastic-agent-libs v0.18.1

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ github.com/ebitengine/purego v0.8.1 h1:sdRKd6plj7KYW33EH5As6YKfe8m9zbN9JMrOjNVF/
130130
github.com/ebitengine/purego v0.8.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
131131
github.com/elastic/apm-aggregation v1.2.0 h1:UndqG3ccBTjyxTqHujBVjcbVLb9qG1clxRcrp9JRelI=
132132
github.com/elastic/apm-aggregation v1.2.0/go.mod h1:YllYwPYVV27pbuPfjRtQAKo6eSSrh13PZr38RKYd810=
133-
github.com/elastic/apm-data v1.15.0 h1:19qq8+OC+eyylUMtd2TrW1YVGrOgXb4d2OJQoqfmqow=
134-
github.com/elastic/apm-data v1.15.0/go.mod h1:PAkbYNARxvd4nhR+HjCskGv/ev30zZi7jglf8EmWtXc=
133+
github.com/elastic/apm-data v1.16.0 h1:LkJFoNkadIyqXNo3EMm98J38j9HWDMWUe6F74GaXtJ4=
134+
github.com/elastic/apm-data v1.16.0/go.mod h1:ST2P1yshhN2U3IbBYyn+Ni3VOFTifavNzMfh7E9zLHY=
135135
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250102181502-1f91ed31767d h1:f7HWnj35BO90r0gWRz3DFhLL/y8bTQhHASDgY+AAd+4=
136136
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250102181502-1f91ed31767d/go.mod h1:KCqU8Vg/PRlBpjFS0vT6EMLzI16+85md82k/glDEVQ8=
137137
github.com/elastic/elastic-agent-autodiscover v0.9.0 h1:+iWIKh0u3e8I+CJa3FfWe9h0JojNasPgYIA47gpuuns=

internal/beater/beater.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package beater
1919

2020
import (
2121
"context"
22+
"crypto/md5"
2223
"encoding/json"
2324
"errors"
2425
"fmt"
@@ -471,7 +472,9 @@ func (s *Runner) Run(ctx context.Context) error {
471472
// aggregation, sampling, and indexing.
472473
modelprocessor.SetHostHostname{},
473474
modelprocessor.SetServiceNodeName{},
474-
modelprocessor.SetGroupingKey{},
475+
modelprocessor.SetGroupingKey{
476+
NewHash: md5.New,
477+
},
475478
modelprocessor.SetErrorMessage{},
476479
}
477480
if s.config.DefaultServiceEnvironment != "" {

0 commit comments

Comments
 (0)