Open djpable opened 2 years ago
Hi @djpable !
We are actually working on a feature right now that would enable this with #9930 . Feel free to follow that issue for updates.
NATS supports perfectly JSON encoding of Metrics and Logs, but that native encoding sounds very interesting. Thank you. You are doing a great product.
A NATS Source output:metrics and the relative NATS Sink would be very appreciated.
Hi @jszwedko, is there any update on this? The NATS sink still doesn't accept metrics, only logs. Thank you.
No updates yet. I think the change is relatively straightforward though, if anyone wants to take a shot at it. It would mean relaxing:
to be
Input::new(self.encoding.config().input_type())
and doing some testing to make sure metric events are handled correctly.
A note for the community
Use Cases
Useful to connect vector agents and vector datacenter instances.
Attempted Solutions
I tried to use NATS Sink component in the agent and a NATS Source component in the datacenter instance, failing in transmitting Metrics data-type. It seems that those components supports only Log data-type.
Proposal
No response
References
No response
Version
vector 0.20.0 (x86_64-pc-windows-msvc 2a706a3 2022-02-10)