Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.7 KB

upgrade_guide.md

File metadata and controls

36 lines (29 loc) · 1.7 KB

Upgrade guide for OpenKit .NET

OpenKit .NET 2.0 to 2.1

There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 2.1 release.

Deprecated API

  • IAction.ReportError(string errorName, int errorCode, string reason)
    Use IAction.ReportError(string errorName, int errorCode) without string reason argument, as reason is unhandled in Dynatrace.

OpenKit .NET 1.4 to 2.0

There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 2.0 release.

Deprecated API

  • IWebRequestTracer.SetResponseCode(int responseCode) and IWebRequestTracer.Stop()
    Use IWebRequestTracer.Stop(int responseCode) instead as replacement.
  • DynatraceOpenKitBuilder.WithApplicationName(string applicationName)
    The application name is configured in Dynatrace Web UI.
  • AbstractOpenKitBuilder.EnableVerbose()
    Use AbstractOpenKitBuilder.WithLogLevel(LogLevel.DEBUG) instead.
  • AbstractOpenKitBuilder.WithModelID(string modelId)
    Use AbstractOpenKitBuilder.WithModelId(string modelId) instead.

OpenKit .NET 1.3 and below to 1.4

There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 1.4 release.

Deprecated API

  • DynatraceOpenKitBuilder(string endPointUrl, string applicationId, string deviceId)
    Use DynatraceOpenKitBuilder(string endPointUrl, string applicationId, long deviceId) instead.
  • AppMonOpenKitBuilder(string endpointUrl, string applicationName, string deviceId)
    Use AppMonOpenKitBuilder(string endpointUrl, string applicationName, long deviceId) instead.