Infrastructure Integration

Configuration

  1. Configure the agent by editing /etc/netsil-dd-agent/conf.d/etcd.yamlin the collectors.

Example:

    init_config:
    instances:
      # API endpoint of your etcd instance
      - url: "https://server:port"
        # Change the time to wait on an etcd API request
        # timeout: 5

        # If certificate-based authentication of clients is enabled on your etcd server,
        # specify the key file and the certificate file that the check should use.
        # ssl_keyfile: /path/to/key/file
        # ssl_certfile: /path/to/certificate/file

        # Set to `false` to disable the validation of the server's SSL certificates (default: true).
        # ssl_cert_validation: true

        # If ssl_cert_validation is enabled, you can provide a custom file
        # that lists trusted CA certificates (optional).
        # ssl_ca_certs: /path/to/CA/certificate/file

        # optionally, add tags:
        # tags:
        # - foo
        # - bar
  1. Check and make sure that all yaml files are valid with following command:

    /etc/init.d/netsil-collectors configcheck
    
  2. Restart the Agent using the following command:

    /etc/init.d/netsil-collectors restart
    
  3. Execute the info command to verify that the integration check has passed:

    /etc/init.d/netsil-collectors info
    

The output of the info command should contain a section similar to the following:

    Checks
    ======
      [...]
      etcd
      ----------
          - instance #0 [OK]
          - Collected 8 metrics & 0 events

Infrastructure Datasources

Datasource Available Aggregations Unit Description
etcd.store.gets.success avg max min sum request/second Rate of successful get requests
etcd.store.gets.fail avg max min sum request/second Rate of failed get requests
etcd.store.sets.success avg max min sum request/second Rate of successful set requests
etcd.store.sets.fail avg max min sum request/second Rate of failed set requests
etcd.store.delete.success avg max min sum request/second Rate of successful delete requests
etcd.store.delete.fail avg max min sum request/second Rate of failed delete requests
etcd.store.update.success avg max min sum request/second Rate of successful update requests
etcd.store.update.fail avg max min sum request/second Rate of failed update requests
etcd.store.create.success avg max min sum request/second Rate of successful create requests
etcd.store.create.fail avg max min sum request/second Rate of failed create requests
etcd.store.compareandswap.success avg max min sum request/second Rate of compare and swap requests success
etcd.store.compareandswap.fail avg max min sum request/second Rate of compare and swap requests failure
etcd.store.compareanddelete.success avg max min sum request/second Rate of compare and delete requests success
etcd.store.compareanddelete.fail avg max min sum request/second Rate of compare and delete requests failure
etcd.store.expire.count avg max min sum eviction/second Rate of expired keys
etcd.store.watchers avg max min sum Rate of watchers
etcd.self.send.pkgrate avg max min sum packet/second Rate of packets received
etcd.self.send.bandwidthrate avg max min sum byte/second Rate of bytes received
etcd.self.recv.pkgrate avg max min sum packet/second Rate of packets sent
etcd.self.recv.bandwidthrate avg max min sum byte/second Rate of bytes sent
etcd.self.recv.appendrequest.count avg max min sum request/second Rate of append requests this node has processed
etcd.self.send.appendrequest.count avg max min sum request/second Rate of append requests this node has sent
etcd.leader.counts.fail avg max min sum request/second Rate of failed Raft RPC requests
etcd.leader.counts.success avg max min sum request/second Rate of successful Raft RPC requests
etcd.leader.latency.current avg max min sum millisecond Current latency to each peer in the cluster
etcd.leader.latency.avg avg max min sum millisecond Average latency to each peer in the cluster
etcd.leader.latency.min avg max min sum millisecond Minimum latency to each peer in the cluster
etcd.leader.latency.max avg max min sum millisecond Maximum latency to each peer in the cluster
etcd.leader.latency.stddev avg max min sum millisecond Standard deviation latency to each peer in the cluster