-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
bitnami/elasticsearch chart not emitting metrics with latest 7.13 release #6653
Comments
Hi, thanks for letting us know. We already released the new version for the prometheus-exporter, see DockerHub. The next step is to update the charts/bitnami/elasticsearch/values.yaml Line 1127 in da9f873
All the bundled images are automatically updated in each Helm Chart release, I just triggered a new release of the ES chart. Once tested on our internal pipeline, a new version should be pushed to GitHub and the Chart repositories containing the latest Once released the new ES Helm Chart, the last step is to release those charts using ES as a subchart, in this case, we have two Helm Charts depending on ES: I just triggered this process, everything should be ready soon. |
Thank you @carrodher for the update. Will wait for the ES and dataplatform-bp2 chart release. |
@carrodher not sure this will work with elasticsearch-exporter 1.2.0 (see prometheus-community/elasticsearch_exporter#419). Btw, what is the |
Hi @carrodher , it still doesnt seem to emit the metrics for jvm. Can you please check this from your side? |
Hi, the new Elasticsearch version (15.3.1) was released yesterday around 4 PM CET, some hours after your comment so probably you tested the previous version that doesn't contain the following changes 2354722. Please note once the code is released in GitHub (previous commit) some time may pass until the chart is published in the repository since some internal processes are required.
In this case, since it is an upstream issue we can't do anything else apart from using the latest version of the prometheus-exporter container image and the elasticsearch image. Once solved the issue upstream we will release a new version of the chart including the latest versions of all the containers bundled in the chart but at this moment we can't modify the source code or binaries for the exporter nor elasticsearch itself. You can also overwrite the image by using the
Here you can find the |
Thanks you, I got it! |
The new version of dataplatform-bp2 containing the latest version of ES was already released (see above PR with the changes): $ helm repo update && helm search repo bitnami/dataplatform-bp2
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/dataplatform-bp2 3.0.1 1.0.0 OCTO Data platform Kafka-Spark-Elasticsearch He... If the issue is not solved with those changes we need to wait until a new version of Elasticsearch or elasticsearch-exporter appears to fix the issue, but as it is something related to the upstream project from Bitnami we can't do anything else apart from using the latest version available at this moment. I am closing the issue, but feel free to reopen it if you found that a new version is released and the charts are not updated automatically or if there is a valid workaround provided by the upstream developers we can apply to the chart. |
Hi @carrodher Could you please let us know once this is added to the elasticsesarch and dataplatform-bp2 chart? Thank you |
Hi! The PR was merged in their source code but they didn’t release a new version yet, being the latest one I'm reopening the ticket just in case, but we will need to wait until the es_exporter team release a new version |
They haven't released a new version, but :master tag contains the fix and works well. |
Yes, the PR was merged in We can't use the code from |
@carrodher FYI Elasticsearch exporter 1.2.1 is released now. |
Hi @gkulkarni32, thanks for letting us know. The Bitnami automated pipeline already detected the new version and triggered the release process:
At this moment the release pipeline is in the middle of the second step, but just to let you know that we are aware of the new version and the release is following the regular workflow. |
Thanks @carrodher for the update. Will wait for the release of both elasticsearch and dataplatform-bp2 chart release. |
A new elasticsearch version ( $ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm search repo bitnami/elastic
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/elasticsearch 15.7.2 7.13.2 A highly scalable open-source full-text search ...
$ helm fetch bitnami/elasticsearch --untar
$ ag ' bitnami/elasticsearch-exporter' elasticsearch/values.yaml -C 1
1169- registry: docker.io
1170: repository: bitnami/elasticsearch-exporter
1171- tag: 1.2.1-debian-10-r0 As you can see per the last command, the bundled version of the exporter is 1.2.1 Now it is time to trigger a release of dataplatform-bp2 to include this ES version |
The above PR bumps all the dependencies bundled in the dataplatform-bp2 Helm chart; the ES version bundled is 15.7.2, which is the one with the latest version of the exporter. This version is already released $ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm search repo bitnami/dataplatform-bp2
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/dataplatform-bp2 3.0.2 1.0.0 OCTO Data platform Kafka-Spark-Elasticsearch He... Summarizing:
Feel free to reopen the issue if you find any issue with the latest versions of the charts, as previously if there is something not working because of the exporter itself, we will need to wait for a new version in the upstream project. |
Thank you @carrodher for the update. We will test it out. |
Which chart:
bitnami/elasticsearch
Describe the bug
There was a bug in the elasticsearch upcoming prometheus exporter image of the latest release 7.13 in which some of the critical metrics were not being emitted. Below is the reference to the bug: prometheus-community/elasticsearch_exporter#419
This bug is fixed in the latest exporter image, we need to have the same fix in the latest Bitnami elasticsearch chart.
To Reproduce
Steps to reproduce the behavior:
elasticsearch.jvm.memory.*
are not being emited.Merge request for this: Release 1.2.0 prometheus-community/elasticsearch_exporter#431
Expected behavior
All the missing metrics should be emitted by the exporter. one example is:
elasticsearch.jvm.memory.*
Version of Helm and Kubernetes:
helm version
:kubectl version
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: