Dynatrace / openkit-dotnet

OpenKit .NET Reference Implementation
Apache License 2.0
16 stars 16 forks source link

The latest versions does not seem to work with AppMon #99

Closed heydenb closed 5 years ago

heydenb commented 5 years ago

I have a sample with AppMon using the 1.0.1 release which works fine. But the latest 4.0 release does not work with AppMon. Using fiddler I see a whole bunch of GET requests to /dynatraceMonitor?type=mts

stefaneberl commented 5 years ago

Hi, thank you for your feedback. Do you mean with the latest 4.0 release OpenKit 1.4.0?

Can you please provide details of your setup (AppMon version)? Response code and the payload from the log?

heydenb commented 5 years ago

Hey Stefane.

Yes. it's 4.0 release OpenKit 1.4.0. I can send you a fiddler session file.

thomasgrassauer commented 5 years ago

What version of AppMon are you using?

It would be great if you could provide us with the log output of a small example app. You can enable verbose logging to the console by calling EnableVerbose() when creating the OpenKit instance. Alternatively you can provide a custom logger using the WithLogger method.

heydenb commented 5 years ago

Version AppMon: 7.2 With EnableVerbose(), no output at all. Even debugged, but it never jumps into errors.

stefaneberl commented 5 years ago

Sorry for the delay and thanks for the data. After some analysis, I think I found a real issue which was introduced when fixing another bug in OpenKit.

I will double check with @thomasgrassauer - just to have another pair of eyes having a look at the solution - and will provide a fix soon.

stefaneberl commented 5 years ago

It's fixed already with 1.4.1, 1.3.2, 1.2.2 and 1.1.4. When using OpenKit .NET 1.4 and above, please consider using the NuGet package ( https://www.nuget.org/packages/Dynatrace.OpenKit.NET/)