Be aware that some requirements (CMake, GCC, Clang) for the build have been changed, see required programs.
There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 3.1 release.
Appmon has been removed from OpenKit C/C++. If you don't want to replace your AppMon related code stay on the latest 2.1.x release.
AbstractOpenKitBuilder
has been removed as it was not needed anymore due to AppMon removal. All functionalities have been consolidated into theDynatraceOpenKitBuilder
.IWebRequestTracer::setResponseCode(int32_t responseCodee)
andIWebRequestTracer::stop()
UseIWebRequestTracer::stop(int32_t responseCode)
instead as replacement.setResponseCode(struct WebRequestTracerHandle* webRequestTracerHandle, int32_t responseCode)
andstopWebRequest(struct WebRequestTracerHandle* webRequestTracerHandle)
UsestopWebRequest(struct WebRequestTracerHandle*, int32_t)
instead as replacement.IAction::reportError(const char* errorName, int32_t errorCode, const char* reason)
UseIAction::reportError(const char* errorName, int32_t errorCode)
instead, since reason is unhandled.reportErrorOnAction(struct ActionHandle* actionHandle, const char* errorName, int32_t errorCode, const char* reason)
UsereportErrorCodeOnAction(struct RootActionHandle*, const char*, int32_t)
instead, since reason is unhandled.IRootAction::reportError(const char* errorName, int32_t errorCode, const char* reason)
UseIRootAction::reportError(const char* errorName, int32_t errorCode)
instead, since reason is unhandled.reportErrorOnRootAction(struct RootActionHandle* rootActionHandle, const char* errorName, int32_t errorCode, const char* reason)
UsereportErrorCodeOnRootAction(struct RootActionHandle*, const char*, int32_t)
instead, since reason is unhandled.
There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 2.1 release.
IAction::reportError(const char* errorName, int32_t errorCode, const char* reason)
UseIAction::reportError(const char* errorName, int32_t errorCode)
instead, since reason is unhandled.IRootAction::reportError(const char* errorName, int32_t errorCode, const char* reason)
UseIRootAction::reportError(const char* errorName, int32_t errorCode)
instead, since reason is unhandled.
There are breaking changes. All OpenKit headers have been moved into one
single place, include/OpenKit
to be exact. It might be necessary to adjust the
include path in your build scripts and #include
directives in your source code.
Besides that, the API method signature did not changed.
The minimum required CMake version has been raised to 3.4.0.
IWebRequestTracer::setResponseCode(int32_t responseCodee)
andIWebRequestTracer::stop()
UseIWebRequestTracer::stop(int32_t responseCode)
instead as replacement.DynatraceOpenKitBuilder::withApplicationName(const char* applicationName)
The application name is configured in Dynatrace Web UI.AbstractOpenKitBuilder::enableVerbose()
UseAbstractOpenKitBuilder::withLogLevel(LogLevel::LOG_LEVEL_DEBUG)
instead.void stopWebRequest(struct WebRequestTracerHandle* webRequestTracerHandle)
andvoid setResponseCode(struct WebRequestTracerHandle* webRequestTracerHandle, int32_t responseCode)
Usevoid stopWebRequestWithResponseCode(struct WebRequestTracerHandle* webRequestTracerhandle, int32_t responseCode)
instead.
There are no breaking API changes and upgrading is straightforward, by updating the library to the latest 1.1 release.
DynatraceOpenKitBuilder::DynatraceOpenKitBuilder(const char* endpointURL, const char* applicationID, const char* deviceID)
UseDynatraceOpenKitBuilder::DynatraceOpenKitBuilder(const char* endpointURL, const char* applicationID, int64_t deviceID)
instead.