Modify the agent.yml file to configure your information.
You'll serviceName to find your data later. It's important to use a unique and meaningful name.
The serviceName of MegaEase Cloud consists of three parts: zone, domain, name. They are joined by .
into ServiceName
serviceName: zone.domain.service
MegaEase Cloud uses http to receive data, so you need to change the configuration to http and MegaEase Cloud's address.
reporter.output.server: {MEGAEASE_CLOUD_URL}/application-tracing-log
MTLS is a secure authentication protocol for EaseAgent to connect to MegaEase Cloud.
Config: Get TLS
reporter.output.server.tls.enable: true
reporter.output.server.tls.key: YOUR_TLS_KEY
reporter.output.server.tls.cert: YOUR_TLS_CERT
we have some
tracing.type: log-tracing
tracing.enable: true
tracing.sample.rate: 1.0
Login: MegaEase Cloud -> [stack]
->[document]
->[.NET]
- Input
zone
,domain
,service
- Input
Sampled
if you want - Click
Submit And Download
When you download the agent.yml
file through our MegaEase Cloud, MEGAEASE_CLOUD_URL
and TLS
will be filled in for you automatically.
If you need it separately, please download the agent.yml
and get it by yourself.