diff --git a/exporter/opensearchexporter/go.mod b/exporter/opensearchexporter/go.mod index 7dadf492551f..61d5d2415d96 100644 --- a/exporter/opensearchexporter/go.mod +++ b/exporter/opensearchexporter/go.mod @@ -5,6 +5,7 @@ go 1.21.0 require ( github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.98.0 github.com/opensearch-project/opensearch-go/v2 v2.3.0 + github.com/opensearch-project/opensearch-go/v4 v4.0.0 github.com/stretchr/testify v1.9.0 go.opentelemetry.io/collector/component v0.98.1-0.20240419202408-d1e631b61158 go.opentelemetry.io/collector/config/configauth v0.98.1-0.20240419202408-d1e631b61158 diff --git a/exporter/opensearchexporter/go.sum b/exporter/opensearchexporter/go.sum index 61342d05c0ba..1a65444db50b 100644 --- a/exporter/opensearchexporter/go.sum +++ b/exporter/opensearchexporter/go.sum @@ -74,6 +74,7 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/opensearch-project/opensearch-go/v2 v2.3.0 h1:nQIEMr+A92CkhHrZgUhcfsrZjibvB3APXf2a1VwCmMQ= github.com/opensearch-project/opensearch-go/v2 v2.3.0/go.mod h1:8LDr9FCgUTVoT+5ESjc2+iaZuldqE+23Iq0r1XeNue8= +github.com/opensearch-project/opensearch-go/v4 v4.0.0/go.mod h1:amlBgHgAX9AwwW50eOuzYa5n/8aD18LoWO8eDLoe8KQ= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=