Comments (3)
@vitaly-pavluk good question
EventFlow is not designed to help with tracing request that span multiple microservices. What it aims to do is to make it easier to aggregate diagnostic information (mostly logs) from multiple sources and/or send these logs to multiple destinations.
For example, say you have a 3rd party library that you use in your service code, and that library provides a lot of useful diagonstic data in case of an error, but it is not using Application Insigths or .NET ILogger to surface this data. With EventFlow you can combine the diagnostic data from your library (via appropriate EventFlow "input") with the diagnostic data from your code that is instrumented via Application Insights/ILogger.
Another example would be if a small portion of your logs needs to be sent to a special destination in addition to the "normal" destination (say, those that represent critical errors need to go to some alerting system ingestion point). A combination of EventFlow "filters" and "outputs" can be used to achieve this.
Since EventFlow was created, many logging/diagnostic libraries, incl. AppInsights, have matured significantly, and some of the original scenarios that prompted the creation of EventFlow libraries can now be handled without employing it. That said, EventFlow is there if you need it.
Hope this helps; happy to answer any follow-up questions you may have.
from diagnostics-eventflow.
@karolz-ms
Thank you for the clarification.
I believe it would be helpful to everyone who makes decisions regarding the EventFlow library to have clear guidance on when to use it and cases when to avoid using this library.
I know for sure that all Microsoft libraries (especially Azure-related) use diagnostics and the EventFlow will help reveal all internal traces produced by them.
Anyway.
Thank you.
from diagnostics-eventflow.
Agreed. I am going to make this issue a "discussion" so other can find, ask questions, and add thoughts as necessary.
from diagnostics-eventflow.
Related Issues (20)
- Request ability to use ConnectionString in ApplicationInsightsOutputConfiguration HOT 2
- In metric, Unable to cast object of type Int32 to type Double HOT 12
- EventFlow not working with .NET 5 HOT 3
- Upgrade Microsoft.ApplicationInsights dependencies HOT 1
- Duplicate dependencies in elastic search output HOT 3
- Update Nuget authoring when PR 387 is merged HOT 3
- .NET 4.6.1 implementation of Core assembly does not use precise clock
- Need to set proxy for ElasticSearch output HOT 6
- Shall we remove unused `Microsoft.Diagnostics.EventFlow.TableStorage`? HOT 1
- Update test platform matrix HOT 1
- Remove Nuget binary from sources HOT 1
- This repo is missing important files
- Does EventFlow supports for app in Azure Kubernetes Service? HOT 1
- Service Fabric Support - Load App Insights connection string from environment variable HOT 5
- Add ability to configure index format string HOT 2
- CsvHealthReporter does not output any logs HOT 1
- EventSourceInput captures System.Runtime logs as well (NET 7) HOT 12
- Superfluous dependencies to nuget packages
- Microsoft.Diagnostics.EventFlow.Outputs.StdOutput 1.7.1 depends on Microsoft.Diagnostics.EventFlow.Json which does not exist HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diagnostics-eventflow.