Skip to content
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

No Data from gluster-metrics-exporter #33

Open
gr-ex-azd opened this issue Aug 15, 2022 · 1 comment
Open

No Data from gluster-metrics-exporter #33

gr-ex-azd opened this issue Aug 15, 2022 · 1 comment

Comments

@gr-ex-azd
Copy link

we get no data from gluster-metrics-exporter - in the logfile are the following exceotions:

2022-08-15T07:52:37.699922Z INFO - GET /_api/local-metrics -- status_code: "200", duration: "405.87ms"
2022-08-15T07:52:37.704681Z INFO - Exception: Error while flushing data to the client (HTTP::Server::ClientError)
from usr/share/crystal/src/http/server/response.cr:296:9 in 'unbuffered_flush'
from usr/share/crystal/src/io/buffered.cr:241:5 in 'write'
from usr/share/crystal/src/char.cr:891:7 in 'generate_text_format'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/crometheus/src/crometheus/registry.cr:156:9 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/static_file_handler.cr:65:13 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/init_handler.cr:12:7 in 'process'
from usr/share/crystal/src/http/server.cr:500:5 in '->'
from usr/share/crystal/src/fiber.cr:146:11 in 'run'
from ???
Caused by: Error writing to socket: Broken pipe (IO::Error)
from usr/share/crystal/src/io/evented.cr:156:7 in 'unbuffered_write'
from usr/share/crystal/src/io/buffered.cr:239:5 in 'unbuffered_flush'
from usr/share/crystal/src/io/buffered.cr:241:5 in 'write'
from usr/share/crystal/src/char.cr:891:7 in 'generate_text_format'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/crometheus/src/crometheus/registry.cr:156:9 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/static_file_handler.cr:65:13 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/init_handler.cr:12:7 in 'process'
from usr/share/crystal/src/http/server.cr:500:5 in '->'
from usr/share/crystal/src/fiber.cr:146:11 in 'run'
from ???
2022-08-15T07:52:37.704719Z ERROR - http.server: Unhandled exception on HTTP::Handler
Closed stream (IO::Error)
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/exception_handler.cr:17:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call'
from usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next'
from __w/gluster-metrics-exporter/gluster-metrics-exporter/lib/kemal/src/kemal/init_handler.cr:12:7 in 'process'
from usr/share/crystal/src/http/server.cr:500:5 in '->'
from usr/share/crystal/src/fiber.cr:146:11 in 'run'
from ???

we use version: 0.2.4

any ideas?

@frenkye
Copy link

frenkye commented Sep 15, 2022

@gr-ex-azd I had to open firewall connection. The key was subnet for peers and port for your exporters. When REJECT was is place, the exporter hangs.

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

No branches or pull requests

2 participants