--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why would you need that information over HTTP API?With HTTP API connections are closed using their name, which is returned by the API.Connection process IDs are an implementation detail that was exposed to `list_connections` in thevery early days.
On Fri, May 4, 2018 at 11:50 AM, David Diehl <vengi...@gmail.com> wrote:
I am using RabbitMQ version 3.7.3Is the Erlang PID present anywhere in the Management HTTP API?So, when I run this command: rabbitmqctl list_connections pid state userThe output has the Erlang PID as the first column.However, when I run this command: curl -i -u guest:guest 'http://localhost:15672/api/connections'and examine the output, I don't see anything that corresponds to the Erlang PID. Is there any plan to add it?Note: I'd like to know the Erlang PID in order to match connections up with the output of the connection_created and connection_closed events that are emitted by the Event Exchange Plugin. On application startup I wanted to capture all of the current connections, and then use the connection_created and connection_closed events as an efficient way to keep the current state of what connections are currently active.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--
To post to this group, send email to rabbitm...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is a solution for that: https://www.rabbitmq.com/networking.html#proxy-protocol.
On Tue, May 15, 2018 at 3:59 PM, David Diehl <vengi...@gmail.com> wrote:
Thanks for pointing this out, but alas, this won't work for me. My RabbitMQ clients are behind a proxy (a load balancer actually) so I see the IP address in the name as the proxy and not my actual client. Therefore, all of my name values are the same value (the IP address of the proxy).
On Tue, May 15, 2018 at 7:11 AM, Daniil Fedotov <fedoto...@gmail.com> wrote:
Hi.It looks like you can use a 'name' field to identify connections. The field looks like this (for localhost connection): `127.0.0.1:59329 -> 127.0.0.1:5672` This field is available in the connection.closed event, in the connection.created event, in the CLI (`rabbitmqctl list_connections name`) and the management API. In the management API it is used as an API pint to manipulate connections.It may still make sense to include client properties into connection.closed event, but in your case using the `name` field looks like a better solution.
On Friday, 4 May 2018 17:50:26 UTC+1, David Diehl wrote:I am using RabbitMQ version 3.7.3Is the Erlang PID present anywhere in the Management HTTP API?So, when I run this command: rabbitmqctl list_connections pid state userThe output has the Erlang PID as the first column.However, when I run this command: curl -i -u guest:guest 'http://localhost:15672/api/connections'and examine the output, I don't see anything that corresponds to the Erlang PID. Is there any plan to add it?Note: I'd like to know the Erlang PID in order to match connections up with the output of the connection_created and connection_closed events that are emitted by the Event Exchange Plugin. On application startup I wanted to capture all of the current connections, and then use the connection_created and connection_closed events as an efficient way to keep the current state of what connections are currently active.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--