)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"387c0a7e4e9f23714535139c76e418ff4cf28fc0","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"42cbe22a_95553b97","updated":"2025-03-28 15:26:12.000000000","message":"I see the TCP publisher does not support publishing an event.\n\nhttps://github.com/openstack/ceilometer/blob/60803e710e7f5b3cd6b1f2175bc41b67ac456667/ceilometer/publisher/tcp.py#L98","commit_id":"4b6405fb70c887d038e653eb045f9381dd60e6c0"},{"author":{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},"change_message_id":"eda0028070e52a1fa4d76207addf75988629640f","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"485d29d5_c55cee03","in_reply_to":"42cbe22a_95553b97","updated":"2025-03-31 07:50:42.000000000","message":"It does not, but setting it as an event publisher in the setup.cfg file makes it publish metrics received from the event bus, which allows us to publish to Prometheus all the metrics stated as \"Notification\" in the documentation: https://docs.openstack.org/ceilometer/latest/admin/telemetry-measurements.html\n\nThe metric samples that come through the notification bus channel are only sent to a publisher in the event publishers list, but it uses publish_samples to process them.","commit_id":"4b6405fb70c887d038e653eb045f9381dd60e6c0"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"bda74f25ae972d0abbc5feec4efc63a312e63569","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"8739f2d3_75dac847","in_reply_to":"485d29d5_c55cee03","updated":"2025-03-31 08:35:08.000000000","message":"Hmm I\u0027m still confused because IIUC\n\n- publish_samples is called from SamplePipelineManager, which loads publishers from ceilometer.sample.publishers namespace according to SamplePipelineManager.pm_type (\u003d \u0027sample\u0027)\n\n- The publishers from \u0027ceilometer.event.publisher` is used by EventPipelineManager, which does not call publish_samples from publisher implementations but publish_events\n\nI wonder if you really had to add tcp publisher to event pipeline... and adding it to meter pipeline (in /etc/ceilometer/pipeline.yaml) does not help.","commit_id":"4b6405fb70c887d038e653eb045f9381dd60e6c0"},{"author":{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},"change_message_id":"2af01b676a0d20cda71b54a2f505f55b1aa63d86","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da4fc8ac_cf715e9c","in_reply_to":"8739f2d3_75dac847","updated":"2025-04-03 08:35:30.000000000","message":"I have retested this and apparently something was wrong with my previous environment. Now the metric notifications are received and sent via publish_samples without this modification.\n\nClosing this.","commit_id":"4b6405fb70c887d038e653eb045f9381dd60e6c0"}]}
