# Functions
AssertOTelMetrics asserts OTel metrics using a closure.
DecodeBulkRequest decodes a /_bulk request's body, returning the decoded documents and a response body.
HandleBulk registers bulkHandler with mux for handling /_bulk requests, wrapping bulkHandler to conform with go-elasticsearch version checking.
NewAssertCounter returns a function that canbe used to assert counter metrics.
NewMockElasticsearchClient returns an elasticsearch.Client which sends /_bulk requests to bulkHandler.
NewMockElasticsearchClientConfig starts an httptest.Server, and returns an elasticsearch.Config which sends /_bulk requests to bulkHandler.
# Constants
TimestampFormat holds the time format for formatting timestamps according to Elasticsearch's strict_date_optional_time date format, which includes a fractional seconds component.