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/tcpcheckreceiver.md.

TCP Check Receiver

OpenTelemetry Collector receiver · contrib distribution

This receiver creates stats by connecting to a TCP server.

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

Stability

LevelSignals
alphametrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
tcpcheck.durationgaugeintmsdevelopmentyestcpcheck.endpoint (string)Measures the duration of TCP connection.
tcpcheck.errorsum (monotonic)int{errors}developmentyeserror.code (string), tcpcheck.endpoint (string)Records errors occurring during TCP check.
tcpcheck.statusgaugeint1developmentyestcpcheck.endpoint (string)1 if the TCP client successfully connected, otherwise 0.

Attributes

AttributeTypeDescription
error.codestringError code recorded during check
tcpcheck.endpointstringTCP endpoint

Data

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