Registry /
observability / apm-module-apmelasticsearch
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
apmelasticsearch
✓ go.elastic.co/apm/module/apmelasticsearch
Wraps the Elasticsearch client transport with APM tracing.
package main
import (
"github.com/elastic/go-elasticsearch/v8"
"go.elastic.co/apm/module/apmelasticsearch"
)
func main() {
cfg := elasticsearch.Config{
Addresses: []string{"http://localhost:9200"},
Transport: apmelasticsearch.WrapRoundTripper(nil),
}
_, _ = elasticsearch.NewClient(cfg)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.15.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.