Skip to content

pluto: add elasticsearch to the endpoints to scrape to prometheus#1074

Open
KiaraGrouwstra wants to merge 1 commit into
NixOS:mainfrom
KiaraGrouwstra:elasticsearch-exporter
Open

pluto: add elasticsearch to the endpoints to scrape to prometheus#1074
KiaraGrouwstra wants to merge 1 commit into
NixOS:mainfrom
KiaraGrouwstra:elasticsearch-exporter

Conversation

@KiaraGrouwstra

@KiaraGrouwstra KiaraGrouwstra commented Jun 9, 2026

Copy link
Copy Markdown

Collects diagnostics from the used in nixos-search's Elastic Search instance used in search.nixos.org.

Closes NixOS/nixos-search#1312.

Given diagnostics on this Elastic Search, I hope to get the visibility needed to judge the viability of features like type-ahead or even live filtering search results like nüschtos search does.

On the implementation here, unfortunately the module wasn't in stable yet, so I just had to in-line it here for now.

An additional caveat is use of age here felt like a bit moot given the credential is public for this - but I didn't want to set bad precedent in this repo by starting to just in-line credentials here as well.

Disclaimer: I used a coding agent in the creation of this patch.

@KiaraGrouwstra KiaraGrouwstra requested a review from a team as a code owner June 9, 2026 11:06
@KiaraGrouwstra KiaraGrouwstra force-pushed the elasticsearch-exporter branch from 0d9570b to 2b083dc Compare June 9, 2026 11:07
@mweinelt

mweinelt commented Jun 9, 2026

Copy link
Copy Markdown
Member

On the implementation here, unfortunately the module wasn't in stable yet, so I just had to in-line it here for now.

It's a new module, you can always make a backport for those.

@KiaraGrouwstra

Copy link
Copy Markdown
Author

Thanks for the suggestion! I filed the backport at NixOS/nixpkgs#529894 now - will update here (whether before or after merge) once that hits.

@KiaraGrouwstra KiaraGrouwstra force-pushed the elasticsearch-exporter branch from 2b083dc to 3b8bfc5 Compare June 20, 2026 20:09
Note that the credentials are technically in the nixos-search repo in
plaintext, so mostly using age here for good form.

Assisted-by: claude-code:claude-opus-4-8

Signed-off-by: cinereal <cinereal@riseup.net>
@KiaraGrouwstra KiaraGrouwstra force-pushed the elasticsearch-exporter branch from 3b8bfc5 to b91d2a2 Compare June 20, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get Elastic Search metrics

2 participants