You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
By default this exporter watching just one instance. But in K8s you can "attach" it as a sidecar to Logstash pods. Deployment looking something like this:
...
spec:
containers:
- name: logstash(... setup for logstash ...)
- name: exporterimage: <PathToYourDockerContainerWithName>:<VersionForYourDockerContainer>args:
- --web.listen-address=:9310 # by default is used port 9304, but feel free adapt this settingports:
- containerPort: 9310name: metricsprotocol: TCPresources:
requests:
cpu: "100m"memory: "16M"limits:
cpu: "200m"memory: "32M"
...
Please, take this just a example! You need also update K8s service object and servicemonitor object for Prometheus.
Hope that helps.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Is it possible with the exporter to monitor all replicas of Logstash running in K8s?
On Prometheus metrics I cannot see more than one node.
Thanks in advance
The text was updated successfully, but these errors were encountered: