Getting started with Uptrace
Getting started with Uptrace is easy:
To start receiving data, use the DSN (connection string) you've obtained on the previous step to configure Uptrace distro for your programming language.
Instrument your application with plugins for popular frameworks and libraries.
Install OpenTelemetry Collector to monitor host metrics, Redis, PostgreSQL, MySQL and many more.
You can also use Vector to collect logs from a file or a syslog.
Uptrace DSN is a connection string that contains connections details for an Uptrace backend and a secret token that grants write access to a project.
For example, DSN
http://project1_secret_token@localhost:14317/1 contains the following information:
httptells the client to disable TLS. Use
httpsto enable TLS.
localhost:14317is an address of the Uptrace backend. The cloud version always uses the
uptrace.devaddress without a port.
project1_secret_tokenis a secret token that is used for authentication.
/1is a project id.
You can always find your project DSN on the project settings page or by clicking on the Help icon: