Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

[Prototype] Event counters #886

Closed
wants to merge 1 commit into from
Closed

Conversation

kichalla
Copy link
Member

@davidfowl @rynowak

EventCounters is an event that is logged for the interval time (in seconds) that we specify. Here the interval has been set as 1 sec. There is a timer which keeps writing out an EventCounters event for every event counter that is created and so you see the mean, standard deviation, count to be NaN initially (when the client hasn't made requests yet). Regarding using this data, just as any other event source event, these EventCounters events can be processed via the TraceEvent nuget package and a UI could be built on top of it (if you are trying to compare the experience of perfmon).

image

image

@rynowak
Copy link
Member

rynowak commented Nov 19, 2016

Ugh, still don't like that these are JSON-ified in the payload instead of their own columns... Did we have a particular need in mind for adding these? Or just general diagnostics?

@kichalla kichalla force-pushed the kichalla/add-eventsource branch from 3c3d4b8 to e251272 Compare November 23, 2016 20:43
@kichalla kichalla force-pushed the kichalla/add-eventsource branch from 09bd0ea to d04421d Compare November 28, 2016 18:33
@kichalla kichalla force-pushed the kichalla/add-eventcounter branch from 47ceec2 to ae38e83 Compare November 29, 2016 12:47
@kichalla kichalla force-pushed the kichalla/add-eventsource branch from b20e587 to 4abb48e Compare November 30, 2016 22:28
@kichalla kichalla force-pushed the kichalla/add-eventcounter branch from ae38e83 to 071d2ee Compare January 9, 2017 23:02
@kichalla kichalla changed the base branch from kichalla/add-eventsource to dev January 9, 2017 23:03
@kichalla kichalla force-pushed the kichalla/add-eventcounter branch from 071d2ee to cf3d5da Compare January 9, 2017 23:07
@kichalla kichalla force-pushed the kichalla/add-eventcounter branch from cf3d5da to 9ce2de3 Compare February 13, 2017 17:11
@davidfowl
Copy link
Member

@kichalla this needs an update after @benaadams PR.

@kichalla kichalla force-pushed the kichalla/add-eventcounter branch from 9ce2de3 to 6e6bec6 Compare February 17, 2017 18:25
@kichalla
Copy link
Member Author

@davidfowl sure, updated

@@ -146,7 +148,7 @@ public void DisposeContext(Context context, Exception exception)
if (eventLogEnabled)
{
// Non-inline
hostingEventLog.RequestStop();
hostingEventLog.RequestStop(startTimestamp, currentTimestamp);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both values could be zero

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you check in the call

@kichalla
Copy link
Member Author

kichalla commented Apr 4, 2017

Closing this as we are not taking it in

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants