To verify that data is being correctly sent to ClickHouse:
- Ensure your test application is running and sending data.
- Run the validation script:
npm run validate
- Check the console output for information about the data in ClickHouse.
The validation script checks:
- If data exists in ClickHouse
- The timestamp of the most recent data
- The different types of spans being recorded
If any issues are detected, the script will provide error messages or warnings.
If the validation fails:
- Check that your test application is running and configured correctly.
- Verify that the OpenTelemetry Collector is running and properly configured.
- Ensure that the ClickHouse connection details in your
.env
file are correct. - Review the OpenTelemetry Collector logs for any errors or warnings.
For more detailed diagnostics, you can modify the validate_data_streaming.js
script in the tools/script
directory.