Metricbeat etcd module can't work with etcd v3.3.8

my config:

metricbeat.modules:
- module: etcd
  metricsets: ["leader", "self", "store"]
  period: 10s
  hosts: ["https://172.27.128.71:2379"]
  ssl:
    certificate: "/etc/cert/client.pem"
    key: "/etc/cert/client-key.pem"
    certificate_authorities: ["/etc/cert/ca.pem"]
    verification_mode: "none"

We are testing the metricbeat etcd module with etcd 3.2: https://github.com/elastic/beats/blob/master/metricbeat/module/etcd/_meta/Dockerfile

It sounds like we need to enhance the module to work with etcd 3.3 as well. If you have a GitHub account, would you mind filing an enhancement issue for this over here: https://github.com/elastic/beats/issues/new? That way you'll be notified of it's progress. If you don't have a GitHub account, let me know and I'll create the issue for you.

Thanks,

Shaunak

Done.

Hi @Jun_Zhang,

I have tried to reproduce the problem with 3.3.8 and 3.3.10 but current module seems to work fine (at least it generates events). I am adding some tests to cover these versions.

I wonder if the problem can be specific of its usage with https or something related to etcd API version. In any case there should be errors in logs. Could you check if there is any error in metricbeat logs?

It'd be also useful to have the etcd parameters and the configuration you are using.

And if you have the chance, it'd be also great if you could try to reproduce the issue with etcd 3.2 and/or without SSL.

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.