memcached_exporter icon indicating copy to clipboard operation
memcached_exporter copied to clipboard

Support multi-target

Open mateusduboli opened this issue 3 years ago • 5 comments

Adds support for multi-target pattern. Refers to #130

Discussion points:

  • Should we always enable the scrapper by default? Is this possibly a security problem?

mateusduboli avatar Sep 19 '22 14:09 mateusduboli

@grobie

mateusduboli avatar Sep 21 '22 20:09 mateusduboli

@roidelapluie can you help us with this PR?

mateusduboli avatar Oct 03 '22 14:10 mateusduboli

Apologies for the radio silence @mateusduboli.

@SuperQ @roidelapluie So I see that the project's stance on multi-targets has changed? I found @SuperQ's comment from February suggesting exactly this change https://github.com/prometheus/memcached_exporter/issues/111#issuecomment-1026606633.

The change looks good to me in general. I believe users should explicitly opt-in into the new behavior though by setting a flag. It might be unexpected and even harmful for users upgrading to the newest version if the exporter can be suddenly used to make requests against arbitrary endpoints.

grobie avatar Oct 07 '22 11:10 grobie

Yes, we've been adding multi-target exporter scrape support across the ecosystem to better support hosted/blackbox managed instances like Elasticache.

SuperQ avatar Oct 07 '22 12:10 SuperQ

I don't think we've added any blockers / flags to any other exporter that disable multi-target by default. We typically recommend users that care implement auth/tls.

SuperQ avatar Oct 07 '22 12:10 SuperQ

Hi @grobie and @SuperQ, anything else that we can do to get this merged?

mateusduboli avatar Oct 18 '22 19:10 mateusduboli

@SuperQ @maxbrunet Any updates here?

mateusduboli avatar Nov 28 '22 19:11 mateusduboli

@SuperQ done ✅

mateusduboli avatar Dec 07 '22 22:12 mateusduboli

Can this get merged and released? It is a super-useful feature, and it looks like everything that was asked for has been done.

pplu avatar Dec 29 '22 16:12 pplu

@SuperQ @grobie any updates?

mateusduboli avatar Feb 01 '23 18:02 mateusduboli

This feature seems helpful, but it has been open for several months without recent activity or approval. Is there a specific reason for the delay? Could someone help resolve any conflicts and get this merged?

chewrocca avatar May 25 '23 16:05 chewrocca

We wrapped this up in #173.

matthiasr avatar Jun 02 '23 12:06 matthiasr

Completed in https://github.com/prometheus/memcached_exporter/pull/173

SuperQ avatar Jun 02 '23 12:06 SuperQ

Thank you for your contribution!

matthiasr avatar Jun 02 '23 12:06 matthiasr