Dotnet with OpenTelemetry + ELK Stack - 1 Web + 2 API
Docker with ELK + APM + ElastisSearch See https://github.com/deviantony/docker-elk
Example of Fleet-enrolled Elastic Agent pre-configured with an agent policy for running the APM Server integration (see kibana.yml). Run with
docker-compose -f docker-compose.yml -f extensions/fleet/fleet-compose.yml -f extensions/fleet/agent-apmserver-compose.yml docker-compose -f docker-compose.yml -f extensions/fleet/fleet-compose.yml -f extensions/fleet/agent-apmserver-compose.yml -f extensions/enterprise-search/enterprise-search-compose.yml up
The first try the Kibana didn't start with the user - kibana_system Had to change the password "changeme" of "kibana_system"
docker-compose exec elasticsearch bin/elasticsearch-reset-password --batch --user kibana_system
Then copy the new pass to .env
To enable the management experience for Enterprise Search, modify the Kibana configuration file in
[kibana/config/kibana.yml
][config-kbn] and add the following setting:
enterpriseSearch.host: http://enterprise-search:3002
Set multiple Start Visual Studio - Web, Api1, Api2 Will start the https profile configs
- ApiApplication1 (calls api2)
"Api2Url": "https://localhost:7132",
"elk-apm-server": "http://localhost:8200"
- ApiApplication2 (standalone)
"elk-apm-server": "http://localhost:8200"
- WebApplication1 (calls api1 & api2)
"elk-apm-server": "http://localhost:8200",
"Api1Url": "https://localhost:7199",
"Api2Url": "https://localhost:7132"