From 96c804d26dfd6a1bf77d0d4c6417fb88de55f5a6 Mon Sep 17 00:00:00 2001 From: Stefan Kurek Date: Fri, 11 Oct 2024 07:59:15 -0400 Subject: [PATCH] Update OTEL mysqlreceiver to fork with replica metrics added --- go.mod | 10 ++++++---- go.sum | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index 9a144c13..d983d6ff 100644 --- a/go.mod +++ b/go.mod @@ -46,8 +46,8 @@ require ( github.com/stretchr/testify v1.9.0 go.mongodb.org/mongo-driver v1.15.0 go.opentelemetry.io/collector/component v0.111.1-0.20241008154146-ea48c09c31ae - go.opentelemetry.io/collector/config/confignet v1.17.0 - go.opentelemetry.io/collector/config/configtls v1.17.0 + go.opentelemetry.io/collector/config/confignet v1.17.1-0.20241008154146-ea48c09c31ae + go.opentelemetry.io/collector/config/configtls v1.17.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/confmap v1.17.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/confmap/provider/envprovider v1.17.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/confmap/provider/fileprovider v1.17.1-0.20241008154146-ea48c09c31ae @@ -62,7 +62,7 @@ require ( go.opentelemetry.io/collector/exporter/otlphttpexporter v0.111.0 go.opentelemetry.io/collector/extension v0.111.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/extension/zpagesextension v0.111.0 - go.opentelemetry.io/collector/filter v0.111.0 + go.opentelemetry.io/collector/filter v0.111.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/otelcol v0.111.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/otelcol/otelcoltest v0.111.1-0.20241008154146-ea48c09c31ae go.opentelemetry.io/collector/pdata v1.17.1-0.20241008154146-ea48c09c31ae @@ -178,7 +178,7 @@ require ( go.opentelemetry.io/collector/config/configcompression v1.17.0 // indirect go.opentelemetry.io/collector/config/configgrpc v0.111.0 // indirect go.opentelemetry.io/collector/config/confighttp v0.111.0 // indirect - go.opentelemetry.io/collector/config/configopaque v1.17.0 // indirect + go.opentelemetry.io/collector/config/configopaque v1.17.1-0.20241008154146-ea48c09c31ae // indirect go.opentelemetry.io/collector/config/configretry v1.17.1-0.20241008154146-ea48c09c31ae // indirect go.opentelemetry.io/collector/config/configtelemetry v0.111.1-0.20241008154146-ea48c09c31ae // indirect go.opentelemetry.io/collector/config/internal v0.111.0 // indirect @@ -430,3 +430,5 @@ replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.24.2 => github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.24.3-0.20241010165122-5cd127bed904 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.2 => github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.3-0.20241010165122-5cd127bed904 + +replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.111.0 => github.com/observiq/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.0.0-20241014142930-2b1648987c8e diff --git a/go.sum b/go.sum index 04d5fa03..135b5eb1 100644 --- a/go.sum +++ b/go.sum @@ -696,6 +696,8 @@ github.com/observiq/opentelemetry-collector-contrib/exporter/googlecloudexporter github.com/observiq/opentelemetry-collector-contrib/exporter/googlecloudexporter v0.0.0-20241010181821-83d86680280e/go.mod h1:3e6Ymav2aKeQcEIytpTWYZP/xtmUJN9j40iDoH3DnGQ= github.com/observiq/opentelemetry-collector-contrib/exporter/googlemanagedprometheusexporter v0.0.0-20241010181821-83d86680280e h1:gT46BT0I9eJ3sUrwbbXPpp3z2fhqng6ctJ1wmHlPJBE= github.com/observiq/opentelemetry-collector-contrib/exporter/googlemanagedprometheusexporter v0.0.0-20241010181821-83d86680280e/go.mod h1:OXhe9kJpScHjhFIz2OUoHorTI9xLnQxzfduBnJ/882Q= +github.com/observiq/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.0.0-20241014142930-2b1648987c8e h1:LsOTUyvvUjib2v5PLpYpYB3E58XpUe915hRNnbxiKVk= +github.com/observiq/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.0.0-20241014142930-2b1648987c8e/go.mod h1:ewHIzDl8jafvrOfwsVCAYxn9mDa0OfeJAqoP5Tovoi0= github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -794,8 +796,6 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver v github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver v0.111.0/go.mod h1:K1fv25PsjrRSHqJXtvrr2CZpObiJ6ox/A67W3Sfo22Q= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver v0.111.0 h1:jTdpmV6hF3SgZBVQ6ZIik9Mq4oq0/S8fkSzZyyEDbpQ= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver v0.111.0/go.mod h1:Kafif0R3AowWSEwqPnn5PZUBOkipwljSQLiA1ye86bM= -github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.111.0 h1:pHAzyf3V6/4ziKlob05xagKf+OxQAHr+lkJFRLcRgac= -github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver v0.111.0/go.mod h1:ZRA2/By5+qdXA6WuGVslhoTAZ5W+GwX+zddf5s1K7kc= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver v0.111.0 h1:uUU6RBdMEQLkapwLhlg6yBgYuLxs2ybtC/gjBfyQdmQ= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver v0.111.0/go.mod h1:QhK97sI7gAusiAySjzisNJZjiV+NGq0yXFcop4zY+8s= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver v0.111.0 h1:BYwPf0IHZK2aI1sgpT0dnIifnb7j4bXUFtCUTQAxbLE= @@ -1017,16 +1017,16 @@ go.opentelemetry.io/collector/config/configgrpc v0.111.0 h1:XwHBWCP0m/d6YZ0VZltz go.opentelemetry.io/collector/config/configgrpc v0.111.0/go.mod h1:K9OLwZM8dGNL1Jul/FGxlRsnLd1umgDyA+yxq2BNXUs= go.opentelemetry.io/collector/config/confighttp v0.111.0 h1:nZJFHKYYeCasyhhFC71iZf6GAs6pfFcNOga6b8+lFvc= go.opentelemetry.io/collector/config/confighttp v0.111.0/go.mod h1:heE5JjcLDiH8fMULf55QL2oI9+8Ct58Vq/QfP7TV684= -go.opentelemetry.io/collector/config/confignet v1.17.0 h1:cBmDdiPuIVrHiecgCKyXhRYmDOz9Do5IM7O1JhbB3es= -go.opentelemetry.io/collector/config/confignet v1.17.0/go.mod h1:o3v4joAEjvLwntqexg5ixMqRrU1+Vst+jWuCUaBNgOg= -go.opentelemetry.io/collector/config/configopaque v1.17.0 h1:wHhUgJhmDgNd6M7GW8IU5HjWi/pNmBEe9jBhavoR45g= -go.opentelemetry.io/collector/config/configopaque v1.17.0/go.mod h1:6zlLIyOoRpJJ+0bEKrlZOZon3rOp5Jrz9fMdR4twOS4= +go.opentelemetry.io/collector/config/confignet v1.17.1-0.20241008154146-ea48c09c31ae h1:xl1XmFUFof/UsC6LdySnwtLgm3z0pk+7+NQPKm46Z+g= +go.opentelemetry.io/collector/config/confignet v1.17.1-0.20241008154146-ea48c09c31ae/go.mod h1:o3v4joAEjvLwntqexg5ixMqRrU1+Vst+jWuCUaBNgOg= +go.opentelemetry.io/collector/config/configopaque v1.17.1-0.20241008154146-ea48c09c31ae h1:Mh1ZBO6U5X8iXGFBTguBvLBydg+aLuoWX0Ij7QzHU3c= +go.opentelemetry.io/collector/config/configopaque v1.17.1-0.20241008154146-ea48c09c31ae/go.mod h1:6zlLIyOoRpJJ+0bEKrlZOZon3rOp5Jrz9fMdR4twOS4= go.opentelemetry.io/collector/config/configretry v1.17.1-0.20241008154146-ea48c09c31ae h1:2iWFdlGM2sRZd2WBrivau/cBZzc5iZMgHFcheoh1xvM= go.opentelemetry.io/collector/config/configretry v1.17.1-0.20241008154146-ea48c09c31ae/go.mod h1:KvQF5cfphq1rQm1dKR4eLDNQYw6iI2fY72NMZVa+0N0= go.opentelemetry.io/collector/config/configtelemetry v0.111.1-0.20241008154146-ea48c09c31ae h1:NmNYRBSP+IUK9CsU1Q/1eS/tXmYTPMYxmGQsxEprq/s= go.opentelemetry.io/collector/config/configtelemetry v0.111.1-0.20241008154146-ea48c09c31ae/go.mod h1:R0MBUxjSMVMIhljuDHWIygzzJWQyZHXXWIgQNxcFwhc= -go.opentelemetry.io/collector/config/configtls v1.17.0 h1:5DPgmBgpKEopLGmkjaihZHVA/8yH0LGoOrUZlb86T0Q= -go.opentelemetry.io/collector/config/configtls v1.17.0/go.mod h1:xUV5/xAHJbwrCuT2rGurBGSUqyFFAVVBcQ5DJAENeCc= +go.opentelemetry.io/collector/config/configtls v1.17.1-0.20241008154146-ea48c09c31ae h1:DrWyaVrvQjTt4msP1k8DtLJkqq18mgGrowgzhRgeW/M= +go.opentelemetry.io/collector/config/configtls v1.17.1-0.20241008154146-ea48c09c31ae/go.mod h1:xUV5/xAHJbwrCuT2rGurBGSUqyFFAVVBcQ5DJAENeCc= go.opentelemetry.io/collector/config/internal v0.111.0 h1:HTrN9xCpX42xlyDskWbhA/2NkSjMasxNEuGkmjjq7Q8= go.opentelemetry.io/collector/config/internal v0.111.0/go.mod h1:yC7E4h1Uj0SubxcFImh6OvBHFTjMh99+A5PuyIgDWqc= go.opentelemetry.io/collector/confmap v1.17.1-0.20241008154146-ea48c09c31ae h1:mYgomPNE0dq1SU1OVnMb/Z8Xbj89jBXnjJexz9M71t0= @@ -1073,8 +1073,8 @@ go.opentelemetry.io/collector/extension/zpagesextension v0.111.0 h1:X+YXkJ3kX8c3 go.opentelemetry.io/collector/extension/zpagesextension v0.111.0/go.mod h1:v5u5Ots6HgbhKsvRXB+SF9cmVTgkUATNiejHbpsa0rY= go.opentelemetry.io/collector/featuregate v1.17.1-0.20241008154146-ea48c09c31ae h1:pUq/CeF1eZVO6rjwYqMniDmTyYByqQTWfsyt3m1lmD0= go.opentelemetry.io/collector/featuregate v1.17.1-0.20241008154146-ea48c09c31ae/go.mod h1:47xrISO71vJ83LSMm8+yIDsUbKktUp48Ovt7RR6VbRs= -go.opentelemetry.io/collector/filter v0.111.0 h1:OUE1wKch/C5AfF/TUpMWbKTSYYvSUlNPHADD0c8Also= -go.opentelemetry.io/collector/filter v0.111.0/go.mod h1:74Acew42eexKiuLu3tVehyMK4b5XJPWXoJyNjK2FM+U= +go.opentelemetry.io/collector/filter v0.111.1-0.20241008154146-ea48c09c31ae h1:fLRV9bU33PJWQ/eZCwzfKdV0I9ljhP84Zoq9+tBhcLU= +go.opentelemetry.io/collector/filter v0.111.1-0.20241008154146-ea48c09c31ae/go.mod h1:74Acew42eexKiuLu3tVehyMK4b5XJPWXoJyNjK2FM+U= go.opentelemetry.io/collector/internal/globalgates v0.111.1-0.20241008154146-ea48c09c31ae h1:g7gMMKxrfuxN6p9EfU3KnUDyfdYGARMsPbMh+VuXHaA= go.opentelemetry.io/collector/internal/globalgates v0.111.1-0.20241008154146-ea48c09c31ae/go.mod h1:HqIBKc8J5Vccn93gkN1uaVK42VbVsuVyjmo5b1MORZo= go.opentelemetry.io/collector/internal/globalsignal v0.111.1-0.20241008154146-ea48c09c31ae h1:fublc0EO06p79/OWw2jWVPSPNBMiBcB+0QpLes587DU=