You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TrakerrClient class however has a lot of exposed properties. The benefit to setting these immediately after after you create the TrakerrClient is that AppEvent will default it's values against the TrakerClient that created it. This way if there is a value that all your AppEvents uses, and the constructor default value currently doesn't suit you; it may be easier to change it in TrakerrClient as it will become the default value for all AppEvents created after. A lot of these are populated by default value by the constructor, but you can populate them with whatever string data you want. The following table provides an in depth look at each of those.
103
103
104
+
If you're populating an app event directly, you'll want to take a look at the [AppEvent properties](generated/SwaggerClient-php/docs/Model/AppEvent.md) as they contain properties unique to each AppEvent which do not have defaults you may set in the client.
**api_key** | **string** | API key generated for the application |
7
7
**log_level** | **string** | (optional) Logging level, one of 'debug','info','warning','error', 'fatal', defaults to 'error' | [optional]
8
-
**classification** | **string** | (optional) one of 'error' or a custom string for non-errors, defaults to 'error' |
8
+
**classification** | **string** | (optional) one of 'issue' or a custom string for non-issues, defaults to 'issue' |
9
9
**event_type** | **string** | type of the event or error (eg. NullPointerException) |
10
10
**event_message** | **string** | message containing details of the event or error |
11
11
**event_time** | **int** | (optional) event time in ms since epoch | [optional]
@@ -24,6 +24,14 @@ Name | Type | Description | Notes
24
24
**context_app_os_version** | **string** | (optional) OS version the application is running on | [optional]
25
25
**context_data_center** | **string** | (optional) Data center the application is running on or connected to | [optional]
26
26
**context_data_center_region** | **string** | (optional) Data center region | [optional]
27
+
**context_tags** | **string[]** | | [optional]
28
+
**context_url** | **string** | (optional) The full URL when running in a browser when the event was generated. | [optional]
29
+
**context_operation_time_millis** | **int** | (optional) duration that this event took to occur in millis. Example - database call time in millis. | [optional]
30
+
**context_cpu_percentage** | **int** | (optional) CPU utilization as a percent when event occured | [optional]
31
+
**context_memory_percentage** | **int** | (optional) Memory utilization as a percent when event occured | [optional]
0 commit comments