-
Notifications
You must be signed in to change notification settings - Fork 80
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
zmq issue #221
Comments
Sorry I didn't get back to you on Discord, I couldn't remember how it had it configured but I've gone back through my commit history now. You configure the Fleet Telemetry server as a ZMQ producer, which ZMQ clients connect to, so you shouldn't put an external domain, but rather an IP and port to bind to.
|
No worries. Thank you for the input here! More people might benefit from the guidance.
|
The way I used it was I had my NodeJS application connect to my fleet telemetry server using ZMQ. You dont need to install any other software to use ZMQ as its connections are directly client to server. You need to configure your subscriber to connect to the IP of your fleet telemetry container/server on 4444 (your exposing that port right?) |
Yes, I am exposing that port and I am able to do a publisher-subscriber test outside of the telemetry. However the telemetry seems not to post the messages. I did try to also subscribe directly from the telemetry server and nothing. On my test I am subscribing to all topics: import zmq while True: Telemetry logs: app-1 | {"context":"fleet-telemetry","level":"debug","msg":"dispatching_message","payload":"FAAAAAAADgAYABQAEAAPAAgABAAOAAAAFAAAADgAAAAAAAAEEAAAABQAAAAAAAAAAAAAAAEAAABWAAAAAAAAAAAAAAAQACAAGAAcABQAEAAMAAQAEAAAAIW6mmWSAQAAFAAAACgAAAA4AAAAk3sDZ2AAAAARAAAAWFA3WUdDRUs5UEIwNzY3NTYAAAAOAAAAdmVoaWNsZV9kZXZpY2UAACsAAAAKDQggEgkKBzE5My40MTcKDAgIEggKBjYzLjI2MBIMCJP3jbgGEJeaidgDACAAAAB2ZWhpY2xlX2RldmljZS5YUDdZR0NFSzlQQjA3Njc1NgAAAAA=","socket_id":"72721039-f405-444a-9678-ffd6641b5ed3","time":"2024-10-07T06:11:32Z"} |
Hello,
I am trying to setup the ZQM integration for dispatcher and I am getting this issue. I think the config piece is not right and there is not much information on how to set it:
Can somebody that did this before check this setup?
"port": 443,
"log_level": "debug",
"json_log_enable": true,
"namespace": "telemetry",
"reliable_ack": false,
"rate_limit": {
"enabled": false,
"message_limit": 100
},
"pubsub": {
"gcp_project_id": "tesla-telemetry-437316"
},
"zmq": {
"addr": "tcp://xxxxxx.compute-1.amazonaws.com:5555"
},
"records": {
"alerts": [
"logger",
"pubsub"
],
"errors": [
"logger",
"pubsub"
],
"V": [
"logger",
"pubsub",
"zmq"
]
},
pp-1 | 2024/10/04 15:30:20 maxprocs: Leaving GOMAXPROCS=1: CPU quota undefined
app-1 | {"activity":true,"context":"fleet-telemetry","level":"info","msg":"config_skipping_empty_metrics_provider","time":"2024-10-04T15:30:20Z"}
app-1 | {"activity":true,"context":"fleet-telemetry","level":"info","msg":"starting_server","time":"2024-10-04T15:30:20Z"}
app-1 | {"activity":true,"context":"fleet-telemetry","level":"info","msg":"pubsub_registerd","namespace":"telemetry","project":"tesla-telemetry-437316","time":"2024-10-04T15:30:20Z"}
app-1 | panic: no such device
app-1 |
app-1 | goroutine 1 [running]:
app-1 | main.main()
app-1 | /go/src/fleet-telemetry/cmd/main.go:46 +0x125
Catalin
The text was updated successfully, but these errors were encountered: