This example demonstrates how to send logs to Uptrace using Vector.
Edit vector.toml and set headers.uptrace-dsn to your project DSN
(https://<token>@api.uptrace.dev/<project_id>), which you can obtain by
creating an Uptrace project.
To run this example, you need Vector 0.49.0+:
vector --config vector.tomlThen open the Logs tab in the Uptrace UI to view the generated logs.
See Logging documentation for details.