Skip to content

Commit 77962a8

Browse files
author
Kaan Yalti
committed
resolved conflicts
1 parent f4480ae commit 77962a8

File tree

5 files changed

+1
-41
lines changed

5 files changed

+1
-41
lines changed

NOTICE-fips.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -872,19 +872,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-l
872872

873873
--------------------------------------------------------------------------------
874874
Dependency : github.com/elastic/elastic-agent-system-metrics
875-
<<<<<<< HEAD
876-
Version: v0.11.16
877-
Licence type (autodetected): Apache-2.0
878-
--------------------------------------------------------------------------------
879-
880-
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected]/LICENSE.txt:
881-
=======
882875
Version: v0.13.2
883876
Licence type (autodetected): Apache-2.0
884877
--------------------------------------------------------------------------------
885878

886879
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected]/LICENSE.txt:
887-
>>>>>>> 898abd5 (build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.18 to 0.12.0 (#5273))
888880

889881
Apache License
890882
Version 2.0, January 2004

NOTICE.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -872,19 +872,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-l
872872

873873
--------------------------------------------------------------------------------
874874
Dependency : github.com/elastic/elastic-agent-system-metrics
875-
<<<<<<< HEAD
876-
Version: v0.11.16
877-
Licence type (autodetected): Apache-2.0
878-
--------------------------------------------------------------------------------
879-
880-
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected]/LICENSE.txt:
881-
=======
882875
Version: v0.13.2
883876
Licence type (autodetected): Apache-2.0
884877
--------------------------------------------------------------------------------
885878

886879
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected]/LICENSE.txt:
887-
>>>>>>> 898abd5 (build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.18 to 0.12.0 (#5273))
888880

889881
Apache License
890882
Version 2.0, January 2004

go.mod

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ require (
99
github.com/docker/go-units v0.5.0
1010
github.com/elastic/elastic-agent-client/v7 v7.17.2
1111
github.com/elastic/elastic-agent-libs v0.24.0
12-
<<<<<<< HEAD
13-
github.com/elastic/elastic-agent-system-metrics v0.11.16
14-
github.com/elastic/go-elasticsearch/v8 v8.18.1
15-
=======
1612
github.com/elastic/elastic-agent-system-metrics v0.13.2
17-
github.com/elastic/go-elasticsearch/v8 v8.19.0
18-
>>>>>>> 898abd5 (build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.18 to 0.12.0 (#5273))
13+
github.com/elastic/go-elasticsearch/v8 v8.18.1
1914
github.com/elastic/go-ucfg v0.8.8
2015
github.com/fxamacker/cbor/v2 v2.8.0
2116
github.com/go-chi/chi/v5 v5.2.3

go.sum

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,8 @@ github.com/elastic/elastic-agent-client/v7 v7.17.2 h1:Cl2TeABqWZgW40t5fchGWT/sRk
3737
github.com/elastic/elastic-agent-client/v7 v7.17.2/go.mod h1:5irRFqp6HLqtu1S+OeY0jg8x7K6PLL+DW+PwVk1vJnk=
3838
github.com/elastic/elastic-agent-libs v0.24.0 h1:8skd0le8Y/zAGVaj4m44ljiJMAp0xuJz07ngDTL/1kM=
3939
github.com/elastic/elastic-agent-libs v0.24.0/go.mod h1:xSeIP3NtOIT4N2pPS4EyURmS1Q8mK0lWZ8Wd1Du6q3w=
40-
<<<<<<< HEAD
41-
github.com/elastic/elastic-agent-system-metrics v0.11.16 h1:cLjuO8pE5cUwPGWUHmy1VOERmJVDaep8gY+U4YRQ5vs=
42-
github.com/elastic/elastic-agent-system-metrics v0.11.16/go.mod h1:qiZC5p1hd8te4XVnhh7FkXdcYhxFnl5i9GJpROtf6zo=
43-
=======
4440
github.com/elastic/elastic-agent-system-metrics v0.13.2 h1:R4ogKHESuWhWTtopnw/aHnBxxSZbxd7KHV4GefdwT2M=
4541
github.com/elastic/elastic-agent-system-metrics v0.13.2/go.mod h1:ezM1kzDUT+vWXFh5oK8QXB/AEB0UoLWqWA8rkRicFFo=
46-
>>>>>>> 898abd5 (build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.18 to 0.12.0 (#5273))
4742
github.com/elastic/elastic-transport-go/v8 v8.7.0 h1:OgTneVuXP2uip4BA658Xi6Hfw+PeIOod2rY3GVMGoVE=
4843
github.com/elastic/elastic-transport-go/v8 v8.7.0/go.mod h1:YLHer5cj0csTzNFXoNQ8qhtGY1GTvSqPnKWKaqQE3Hk=
4944
github.com/elastic/go-elasticsearch/v8 v8.18.1 h1:lPsN2Wk6+QqBeD4ckmOax7G/Y8tAZgroDYG8j6/5Ce0=

internal/pkg/api/metrics.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ func init() {
7878
cntFileDeliv.Register(routesRegistry.newRegistry("deliverFile"))
7979
cntGetPGP.Register(routesRegistry.newRegistry("getPGPKey"))
8080
cntAuditUnenroll.Register(routesRegistry.newRegistry("auditUnenroll"))
81-
<<<<<<< HEAD
82-
=======
83-
84-
err := report.SetupMetricsOptions(report.MetricOptions{
85-
Logger: zap.NewStub("instance-metrics"),
86-
Name: build.ServiceName,
87-
Version: version.DefaultVersion,
88-
SystemMetrics: monitoring.NewRegistry(),
89-
ProcessMetrics: registry.registry,
90-
})
91-
if err != nil {
92-
zerolog.Ctx(context.TODO()).Error().Err(err).Msg("unable to initialize metrics") // TODO is used because this may logged during the package load
93-
}
94-
>>>>>>> 898abd5 (build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.18 to 0.12.0 (#5273))
9581
}
9682

9783
// metricsRegistry wraps libbeat and prometheus registries

0 commit comments

Comments
 (0)