This article is a mirror article of machine translation, please click here to jump to the original article.

View: 36399|Reply: 0

[Source] ASP.NET Core Link Trace (5) Jaeger data persists to elasticsearch

[Copy link]
Posted on 2/2/2021 1:53:07 PM | | | |
Deploy Jaeger distributed link tracing tutorial with Docker
https://www.itsvse.com/thread-9526-1-1.html

ASP.NET Core Link Tracing (1) Install the Skywalking tutorial
https://www.itsvse.com/thread-9456-1-1.html

ASP.NET Core link tracing (2) uses SkyAPM integration
https://www.itsvse.com/thread-9458-1-1.html

ASP.NET Core Link Tracing (3) SkyAPM is based on Consul dynamic configuration
https://www.itsvse.com/thread-9468-1-1.html

ASP.NET Core Link Tracing (4) Access to Jaeger link tracing
https://www.itsvse.com/thread-9537-1-1.html

ASP.NET Core link trace (v) Jaeger data persists to elasticsearch(es), after starting jaeger-all-in-one.exe by default,Data is logged into memory and is lost if the Jaeger console is closedIn a production environment, we need to store data persistently.

Jaeger supports storing databases to: cassandra, elasticsearch, memory, kafka, badger, grpc-plugin

There are two ways to configure Jaeger: command parameters, environment variables

Configuration command reference:The hyperlink login is visible.

All parameters can be provided by environment variables by changing all letters to uppercase letters and replacing all punctuation with underscores. For example,-- cassandra.connections-per-host can provide the value of the flag by CASSANDRA_CONNECTIONS_PER_HOST environment variable.

This article uses the form of environment variables to set configuration information.Create a new start.bat batch scriptAs follows:

Of course, it can also be started in the form of a command line:





With ASP.NET Core projects, data is written to elasticsearch via jaeger. (omitted)

The link information can be seen through the Jaeger UI panel:The hyperlink login is visible.



At the same time, you can also see the newly created index information of Jaeger in the Kibana interface, as shown in the figure below:


Resources:The hyperlink login is visible.

(End)





Previous:Logging System (II).NET/C# uses NLog to push logs to ELK
Next:DataTables implements table export Excel, CSV, and printing
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com