Code Monkey home page Code Monkey logo

diagnostics-kit's Introduction

Hi there ๐Ÿ‘‹

In my GitHub repositories you may find tools and materials dedicated to software troubleshooting.

I also publish my work at wtrace.net (troubleshooting tools and guides) and lowleveldesign.wordpress.com (my blog).

I hope you find the materials informative and beneficial to your own projects.

diagnostics-kit's People

Contributors

lowleveldesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

diagnostics-kit's Issues

SQL server logstore

Hi, first thanks for sharing some great work!

Have you already implemented an sql server log store or whats the case there ?
The documentation talks about this briefly in section 3.1 "Log stores using ElasticSearch, MySql or SQL Server support " But in the repository i cant find anything beside mysql.

Many thanks //Anders

Elasticsearch 5.x support

It looks like only Elasticsearch 2.x is supported. I've got this error with Elasticsearch 5.x:

[PipelineException: Failed sniffing cluster state.]
   Elasticsearch.Net.RequestPipeline.Sniff() in C:\code\elasticsearch-net\src\Elasticsearch.Net\Transport\Pipeline\RequestPipeline.cs:340
   Elasticsearch.Net.RequestPipeline.FirstPoolUsage(SemaphoreSlim semaphore) in C:\code\elasticsearch-net\src\Elasticsearch.Net\Transport\Pipeline\RequestPipeline.cs:134
   Elasticsearch.Net.Transport`1.Request(HttpMethod method, String path, PostData`1 data, IRequestParameters requestParameters) in C:\code\elasticsearch-net\src\Elasticsearch.Net\Transport\Transport.cs:53
   Elasticsearch.Net.ElasticLowLevelClient.IndicesExists(String index, Func`2 requestParameters) in C:\code\elasticsearch-net\src\Elasticsearch.Net\ElasticLowLevelClient.Generated.cs:2514
   Nest.LowLevelDispatch.IndicesExistsDispatch(IRequest`1 p) in C:\code\elasticsearch-net\src\Nest\_Generated\_LowLevelDispatch.generated.cs:1242
   Nest.ElasticClient.Nest.IHighLevelToLowLevelDispatcher.Dispatch(TRequest request, Func`3 responseGenerator, Func`3 dispatch) in C:\code\elasticsearch-net\src\Nest\ElasticClient.cs:56
   LowLevelDesign.Diagnostics.LogStore.ElasticSearch.ElasticSearchClientConfiguration..cctor() in C:\a\1\s\LogStores\LowLevelDesign.Diagnostics.LogStore.ElasticSearch\ElasticSearchClientConfiguration.cs:77

It's probably related to this issue (using NEST 2.x): elastic/elasticsearch-net#2339

I think that wiki should be updated to reflect this, because currently it states

Requirements
Elastic Search >= 1.7.1

, which is confusing, since given ElasticSearch versioning scheme it's easy to assume that 5.x is OK.

Little problem with instalation

Hello, I want to test Your solusion I download diagcastle-elasticsearch_1.0.0.0.zip from github realese. and I install on IIS 8.5.

I have following error.

image

I don't change web.config.

Do You have some idea what to do?

Diagnostics Castle: very slow response time

I've trying to use Diagnostics Castle with ElasticSearch 2.x and having strange issues. Every HTTP request, that goes through ASP.NET takes 2-3 minutes to complete.

I've been able to narrow it using IIS failed Request Tracing to this:

No. EventName Details Time
89. AspNetPipelineEnter Data1="Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage" 13:48:32.604
90. GENERAL_SET_RESPONSE_HEADER HeaderName="Vary", HeaderValue="Accept", Replace="true" 13:49:56.620

As you can see, it's stuck for a minute and half in the Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.

Do you have any idea why this happens and what I can do to fix this?

Musketeer serviece monitoring

Hi Sebastian

First of all many thanks for the SQL server update it works like a charm 8-)

I have an additional question related to musketeer and logging of services.

In the wiki there is a config option include-services and I have tried to configure that to monitor all services that contains "Time" this is my config

<add key="lowleveldesign.diagnostics.url" value="http://localhost:82/" />
    <add key="job:iis-config-refresh-cron" value="0 0/10 * * * ?" />
    <add key="job:perf-monitor-cron" value="0 * * * * ?" />
    <add key="job:iis-logs-read-cron" value="0/30 * * * * ?" />
    <add key="job:check-updates" value="0 /6 * * * ?" />
    <add key="include-http-success-logs" value="false" />
    <add key="include-services" value="\bTime\b;"/>

but no traces of any services can be found in the castle site. Logs from IIS and so on are being picked up but performance data (status such as sopped / running and so on) is not picked up.

It could be that i have missed something here (most likely) or can this type of monitoring not be applied?

The intended use case is to be able to collect some general status about some critical third-party services, hence its not possible to add a harvester like I can for services where i can control the code.

Many thanks //Anders

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.