Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Adding attributes

This example is similar to the QuickStart example, but it uses additional server attributes that are sent with every channel update.

Launching this demo

cd examples/opentelemetry/server
go run .
cd examples/opentelemetry/server
go run .
cd examples/opentelemetry/client
go run .

Additional notes

Currently, two servers and one client are running. If another server is launched, one becomes a backup server, and the client continues interacting with only two servers. To select active servers by priority, use the BalancerPriority server attribute. Each server receives requests based on its weight, so changing the BalancerWeight attribute value distributes load as needed.