Questions tagged [event-flow]

A library suite that allows applications to define what diagnostics data to collect, and where to output that data to.

27 questions
4
votes
2 answers

'Insufficient system resources' when I listen ETW events with EventFlow on ServiceFabric cluster

I have an ETW listener using EventFlow running on Service Fabric. This is my configuration file (eventFlowConfig.json): { "inputs": [ { "type": "ETW", "sessionNamePrefix": "MyListenerService", "cleanupOldSessions": true, …
Alpha75
  • 2,140
  • 1
  • 26
  • 49
4
votes
1 answer

Using a System.Exception Object in EventSource

I'm trying to use Event Source (Microsoft.Diagnostics.EventFlow.Inputs.EventSource) to create an event that is handled by Event Flow (Microsoft.Diagnostic.EventFlow) and whose output is passed to Application Insights…
2
votes
1 answer

ZK: Listen for all descendants’ events

I’m currently developing a ZK application, but couldn’t find a way to listen for all SelectEvents fired from all components below one specific (which is the only one existing at the start, and then gets descendants with every selection taking place…
flying sheep
  • 8,475
  • 5
  • 56
  • 73
2
votes
2 answers

ASP.NET Core 2 with EventFlow configuration

EventFlow have avery limited example on how to configure on dotnetcore which is based on dotnet core 1 and things changed a little but in dotnet core 2 Is there a way to use EventFlow configuration without Autofac? There is discussion about here and…
Piotr Kula
  • 9,597
  • 8
  • 59
  • 85
2
votes
1 answer

Using EventFlow to monitor ETW event on local machine

I am trying to set up a simple ETW and EventFlow example that allows specific ETW providers to be monitored. In this case the Service Control Manager ETW provider to monitor when Service Start and Stop messages are issued. I have the following…
Adrian Russell
  • 3,995
  • 5
  • 25
  • 26
2
votes
1 answer

EventFlow - Creating a Custom Filter to attach Source Server Information

I'm assuming this is a pretty common question, how do we easily add Server info to an EventFlow event? My scenario is that I'm deploying an application that will have its own environment specific EventFlowConfig.json, but each server in the farm…
gperrego
  • 354
  • 1
  • 3
  • 15
1
vote
1 answer

Why an async function, that is being awaited in the middle of the event listener, drops the state and phase of the Event?

Why an async function, that is being awaited in the middle of the event listener, drops the state and the phase of the Event flow? Is it possible to keep it? For example, button.addEventListener("click", async (event) => { eventSnapshots.push({ …
1
vote
1 answer

Event Flow and EventSourcing

I am trying to go over Eventflow to use on a POC after deciding I dont want to create my own implementation of Event store and Event Hydration. Eventflow looks like a good option. I currently use Mediatr and with eventflow to keep things minimum I…
TheMar
  • 1,934
  • 2
  • 30
  • 51
1
vote
1 answer

In EventFlow, how do I deprecate an entire aggregate?

In an EventFlow application, I want to completely remove an aggregate and transfer all of its events to another one. This resulting aggregate will have a different name, ID and events from the first one. I have found this documentation about event…
Ian Esteves
  • 25
  • 1
  • 5
1
vote
1 answer

EventFlow does not show right telemetry types on ApplicationInsight portal. Instead they show as TRACE

In my sample project, I am using EventFlow to collect my diagnostic data and output to ApplicationInsight. Logging is also done through ApplicationInsight. Diagnostic data showed up on the ApplicationInsight portal, but all telemetry types show as…
1
vote
1 answer

Dependency Injection in EventFlow custom output

I'm using EventFlow to trace ETW events. For this I've created an ASP Net Core service that acts as a listener. I've configured my own custom output in my configuration file. And these are my Output and my OutputFactory classes: class CustomOutput :…
1
vote
1 answer

PerformanceCounter in Microsoft.Diagnostics vs Microsoft.Diagnostics.EventFlow

I am planning to use PerformanceCounter for one of my project. I knew only about Microsoft.Diagnostics. However I stumbled upon a rather newer library Microsoft.Diagnostics.EventFlow under official Microsoft Azure project which seem to provide…
Rajiv
  • 1,426
  • 14
  • 21
1
vote
1 answer

Using EventFlow to monitor ETW events from other Service Fabric processes

Curious if anyone has experience with using EventFlow out of process? The documentation suggests it's built for using in-process (in relation to what's being monitored) but I was hoping to run it in a separate process (Service Fabric service) and…
0
votes
1 answer

How to read events with Eventflow?

I work on a .NET 6 application which uses Eventflow. I would like to read my events. Events are in the table EventEntity Do you have any idea ? Can we create a ReadModel for this table ? Is there any method to get data from this table ?
0
votes
1 answer

How to add metadata in Event entity of Eventflow

I am working on a web solution that uses .NET 6 framework as backend with EventFlow (Event-sourcing & CQRS). All of my events are store in the table EventEntity : I would like to add additional information in the Metadata attribute. I read the…
1
2