Skip to content

Files

Latest commit

 

History

History

tcpcheckreceiver

TCP Check Receiver

Status
Stability alpha: metrics
Distributions contrib
Issues Open issues Closed issues
Code Owners @atoulme, @michael-burt, @chengchuanpeng

This receiver creates stats by connecting to an TCP server.

Configuration

The following settings are required:

  • endpoint

The following settings are optional:

  • collection_interval (default = 60s): This receiver collects metrics on an interval. Valid time units are ns, us (or µs), ms, s, m, h.

Example Configuration

Targets are

receivers:
  tcpcheck:
    targets:
      - endpoint: example.com:443
        dialer:
          timeout: 15s
      - endpoint: foobar.com:8080
        dialer:
          timeout: 15s
      - endpoint: localhost:10901

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml