This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/httpcheckreceiver.md.

HTTP Check Receiver

OpenTelemetry Collector receiver · contrib distribution

The HTTP Check Receiver can be used for synthetic checks against HTTP endpoints.

  • Component ID: contrib-httpcheckreceiver
  • Name: httpcheckreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
alphametrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
httpcheck.client.connection.durationgaugeintnsdevelopmentnohttp.url (string), network.transport (string)Time spent establishing TCP connection to the endpoint.
httpcheck.client.request.durationgaugeintnsdevelopmentnohttp.url (string)Time spent sending the HTTP request to the endpoint.
httpcheck.dns.lookup.durationgaugeintnsdevelopmentnohttp.url (string)Time spent performing DNS lookup for the endpoint.
httpcheck.durationgaugeintmsdevelopmentyeshttp.url (string)Measures the duration of the HTTP check.
httpcheck.errorsumint{error}developmentyeserror.message (string), http.url (string)Records errors occurring during HTTP check.
httpcheck.response.durationgaugeintnsdevelopmentnohttp.url (string)Time spent receiving the HTTP response from the endpoint.
httpcheck.response.sizegaugeintBydevelopmentnohttp.url (string)Size of response body in bytes.
httpcheck.statussumint1developmentyeshttp.method (string), http.status_class (string), http.status_code (int), http.url (string)1 if the check resulted in status_code matching the status_class, otherwise 0.
httpcheck.tls.cert_remaininggaugeintsdevelopmentnohttp.tls.cn (string), http.tls.issuer (string), http.tls.san (slice), http.url (string)Time in seconds until certificate expiry, as specified by NotAfter field in the x.509 certificate. Negative values represent time in seconds since expiration.
httpcheck.tls.handshake.durationgaugeintnsdevelopmentnohttp.url (string)Time spent performing TLS handshake with the endpoint.
httpcheck.validation.failedsumint{validation}developmentnohttp.url (string), validation.type (string)Number of response validations that failed.
httpcheck.validation.passedsumint{validation}developmentnohttp.url (string), validation.type (string)Number of response validations that passed.

Attributes

AttributeTypeDescription
error.messagestringError message recorded during check
http.methodstringHTTP request method
http.status_classstringHTTP response status class
http.status_codeintHTTP response status code
http.tls.cnstringThe commonName in the subject of the certificate.
http.tls.issuerstringThe entity that issued the certificate.
http.tls.sansliceThe Subject Alternative Name of the certificate.
http.urlstringFull HTTP request URL.
network.transportstringOSI transport layer or inter-process communication method.
validation.typestringType of validation performed (contains, json_path, size, regex)

Data

  • JSON (latest): /data/collector/components/contrib-httpcheckreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-httpcheckreceiver/contrib-httpcheckreceiver-ad775c288c8d.json
  • Explore: /collector/components/contrib/httpcheckreceiver