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

On webpage show metrisc only occasionally #220

Open
fatal56ty opened this issue Jan 19, 2025 · 0 comments
Open

On webpage show metrisc only occasionally #220

fatal56ty opened this issue Jan 19, 2025 · 0 comments

Comments

@fatal56ty
Copy link

On page with metrics x.x.x.x:49090/metrics show mostly default # HELP python_gc_objects_collected_total Objects collected during gc TYPE python_gc_objects_collected_total counter python_gc_objects_collected_total{generation="0"} 526.0 python_gc_objects_collected_total{generation="1"} 5.0 python_gc_objects_collected_total{generation="2"} 0.0

and no metrics of router, after page refresh sometimes show full metrics of router, after next page refresh again abowe default metrics.
Command mktxp export show this:
Connecting to router [email protected] 2025-01-19 16:28:45 Connection to router [email protected] has been established Connecting to router [email protected] 2025-01-19 16:28:46 Connection to router [email protected] has been established 2025-01-19 16:28:46 Running HTTP metrics server on: 0.0.0.0:49090 Traceback (most recent call last): File "/usr/local/bin/mktxp", line 8, in <module> sys.exit(main()) ~~~~^^ File "/usr/local/lib/python3.13/site-packages/mktxp/cli/dispatch.py", line 108, in main MKTXPDispatcher().dispatch() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/mktxp/cli/dispatch.py", line 39, in dispatch self.start_export(args) ~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/local/lib/python3.13/site-packages/mktxp/cli/dispatch.py", line 89, in start_export ExportProcessor.start() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/mktxp/flow/processor/base_proc.py", line 40, in start serve(make_wsgi_app(), listen = config_handler.system_entry.listen) ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/waitress/__init__.py", line 13, in serve server = _server(app, **kw) File "/usr/local/lib/python3.13/site-packages/waitress/server.py", line 78, in create_server last_serv = TcpWSGIServer( application, ...<5 lines>... sockinfo=sockinfo, ) File "/usr/local/lib/python3.13/site-packages/waitress/server.py", line 243, in __init__ self.bind_server_socket() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/waitress/server.py", line 364, in bind_server_socket self.bind(sockaddr) ~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/waitress/wasyncore.py", line 379, in bind return self.socket.bind(addr) ~~~~~~~~~~~~~~~~^^^^^^ OSError: [Errno 98] Address in use

Mktxp is last version, docker install, its o containter with own IP adress and only this container run on this.

@fatal56ty fatal56ty changed the title On webpage of metrick show On webpage show metrisc only occasionally Jan 19, 2025
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

1 participant