Inquiry Regarding Testing Methodology for Azure Monitor Integration in Vector #19043
-
Hello, Vector dev community I noticed that there is currently no integration test available for Azure Monitor Sink in your code base. Could you please provide more information about your testing methodology for validating the integration of Vector with Azure Monitor? I am keen to learn about your strategies for testing log event transmission, interaction handling, and data validation within Azure Monitor. Any insights into the tools, frameworks, or techniques utilized for testing the interaction with Azure Monitor would be greatly appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, you are correct there are no integration tests for the Azure Monitor sinks, this is an area where the project is lacking. We rely on manual testing for any changes to this sink. To implement integration testing within Vector we rely on there being a Docker image available that can emulate the service we are sending or receiving data to/from. To my knowledge (and I'd be very happy to be corrected here!) no such image exists for Azure Monitor so we are unable to develop these tests. We would be very happy to take any contributions if someone were willing to develop an emulator for us! |
Beta Was this translation helpful? Give feedback.
Hi, you are correct there are no integration tests for the Azure Monitor sinks, this is an area where the project is lacking. We rely on manual testing for any changes to this sink.
To implement integration testing within Vector we rely on there being a Docker image available that can emulate the service we are sending or receiving data to/from. To my knowledge (and I'd be very happy to be corrected here!) no such image exists for Azure Monitor so we are unable to develop these tests.
We would be very happy to take any contributions if someone were willing to develop an emulator for us!