This is a migrated thread and some comments may be shown as answers.

Is there a way to get Metrics?

4 Answers 49 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 08 Oct 2010, 01:30 AM
Open\Undisposed scopes, queries against the db, queries that haven't gone to the db due to cache etc etc? (connections?)

4 Answers, 1 is accepted

Sort by
0
Accepted
IT-Als
Top achievements
Rank 1
answered on 08 Oct 2010, 08:25 AM
Hi Steve,

Did you try using the built-in performance counters / metrics. See this article in the help.

I especially used the L2 cache metrics a lot.

Regards

Henrik

0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 08 Oct 2010, 01:13 PM
That's exactly what I need, thanks!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 08 Oct 2010, 01:28 PM
Where is this logging to?  Can I not programatically extract the data to display on a webpage? :)
0
IT-Als
Top achievements
Rank 1
answered on 08 Oct 2010, 01:43 PM
Hi Steve,

There's a difference in performance counter and logging.

If you are referring to the performance counters they can be accessed either from the Server Explorer in VS or programatically using the performance counter API (standard .NET API).

Logging logs data to a file.

Regards

Henrik
Tags
Development (API, general questions)
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
IT-Als
Top achievements
Rank 1
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or