New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: integrations-next: Consider dropping _exporter
suffix from integrations
#1231
Comments
I like dropping the exporter suffix |
I'm fully in agreement with this. When I was working on cadvisor the very same thing occurred to me. Specifying |
What would we rename |
I'd vote for |
What about |
Yep, I agree. |
I'd also agree with dropping the _exporter suffix. It's probably the simplest useful integration when toying around with the agent, thus should be easily recognizable. |
I would like to see _exporter suffix stay for those integrations that use prometheus integrations as go modules. As experienced prom user, I can have clear understanding that those integrations are tightly coupled with those exporters just by looking at the integration name. And what metrics can be expected, how those integrations are configured... |
One issue with making this change is whether the cc @rgeyer this would probably need coordination with the integration dashboards so they support either the old or new job label (or we change the name but not the job label, but that could be confusing for other reasons) |
This would be fine from the integration standpoint. We allow the user to select the job and instance which "matches" a metric we expect from the exporter (usually up, actually). So the dashboards would continue to work without modification. However, the agent config which the integrations-api generates would need to be updated to reflect the change. |
At the very least, Grafana Cloud's node exporter dashboards looks specifically for Should we maybe leave the job label untouched? cc @mattdurham @tpaschalis (Which would not break any dashboards but might confuse users if the labels are desynced) |
Turns out I had a very old version of the dashboard and none of the new ones assume the job label, so this is a safe change to make. |
Right now the only two questions seem to be:
|
Just my votes.. I don't have super strong opinions here tho.
|
This commit changes the name of many `integrations-next` integrations to represent what type of data they generate rather than the projects they use internally to generate the data. The following integrations have changed names: * `consul_exporter` is now `consul` * `dnsmasq_exporter` is now `dnsmasq` * `elasticsearch_exporter` is now `elasticsearch` * `github_exporter` is now `github` * `kafka_exporter` is now `kafka` * `memcached_exporter` is now `memcached` * `mongodb_exporter` is now `mongodb` * `mysqld_exporter` is now `mysql` * `postgres_exporter` is now `postgres` * `process_exporter` is now `process` * `redis_exporter` is now `redis` * `statsd_exporter` is now `statsd` * `windows_exporter` is now `windows` It is worthwhile pointing out oddities this introduces: * `node_exporter` remains unchanged * `mysqld_exporter` has been changed to `mysql` and not `mysqld` * `process_exporter` has been changed to `process`, which may be confusing to people. Integrations that supported multiple instances still require the `_configs` suffix in the YAML; `integrations.mysqld_exporter_configs` is now `integrations.mysql_configs`. Closes grafana#1231.
This commit changes the name of many `integrations-next` integrations to represent what type of data they generate rather than the projects they use internally to generate the data. The following integrations have changed names: * `consul_exporter` is now `consul` * `dnsmasq_exporter` is now `dnsmasq` * `elasticsearch_exporter` is now `elasticsearch` * `github_exporter` is now `github` * `kafka_exporter` is now `kafka` * `memcached_exporter` is now `memcached` * `mongodb_exporter` is now `mongodb` * `mysqld_exporter` is now `mysql` * `postgres_exporter` is now `postgres` * `process_exporter` is now `process` * `redis_exporter` is now `redis` * `statsd_exporter` is now `statsd` * `windows_exporter` is now `windows` It is worthwhile pointing out oddities this introduces: * `node_exporter` remains unchanged * `mysqld_exporter` has been changed to `mysql` and not `mysqld` * `process_exporter` has been changed to `process`, which may be confusing to people. Integrations that supported multiple instances still require the `_configs` suffix in the YAML; `integrations.mysqld_exporter_configs` is now `integrations.mysql_configs`. Closes #1231.
Our integration names aren't really consistent. To mention a few:
agent
cadvisor
node_exporter
mysqld_exporter
The names come from the project which is being embedded into an integration, though I don't know if a user necessarily cares about
mysqld_exporter
existing.Since we have the opportunity to make large swaths of breaking changes in integrations-next, we should consider dropping the
_exporter
suffix from integrations.The new name of integrations should be obvious for many of them, like changing
mysqld_exporter
tomysqld
for "the mysqld integration".There would be two problems, though:
What wouldnode_exporter
be renamed to?node
seems weird.node_exporter
would either be renamed tounix
or left alone asnode_exporter
as an exception_exporter
suffix is a nice indication that it's a metrics-based integration. Do we care that it won't be obvious any more what enabling amysqld
integration does for telemetry?cc @mattdurham @rgeyer @gaantunes
The text was updated successfully, but these errors were encountered: