
- Appcode watchkit table code#
- Appcode watchkit table mac#
NSString *experimentValue = [trace Delete scenario.
Personally identifies an individual to Google. Please ensure that custom attributes do not contain any information that
Appcode watchkit table code#
Allowed characters for the name are A-Z, a-z, and _.Įach custom code trace can record up to 5 custom attributes. No leading or trailing whitespace, no leading underscore ( _) character. Names for custom attributes must meet the following requirements: You can set the customĪttribute anytime between when the trace starts and when the trace stops. To use custom attributes, add code to your app that defines the attribute andĪssociates it with a specific custom code trace.
To add custom attributes to custom code traces. code that you want to trace (and log custom metrics)Ĭreate custom attributes for custom code traces
Appcode watchkit table mac#
Note: This Firebase product is not available on macOS, Mac Catalyst, watchOS targets.įIRTrace *trace = To start and stop a custom code trace, wrap the code that you want to trace with
Custom code traces support adding custom metrics and. No leading or trailing whitespace, no leading underscore ( _) character, Names for custom code traces must meet the following requirements:. More than one custom code trace can run at the same time. An app can have multiple custom code traces. To add custom code traces to monitor specific application code. Value that can be charted and measured over time. You filter and segment data in the console. An attribute is a string value that helps Unresponsive for a noticeable period of time.Ĭustom attributes and custom metrics display in the Firebase consoleĪlongside the default attributes and default metric for the trace. The number of cache hits and misses or the number of times that the UI becomes For example, you can create a custom metric for You can further configure a custom code trace to recordĬustom metrics for performance-related events that (such as, game level or user properties). YouĬan also add and monitor custom attributes So that you can filter the data for the trace in the Firebase console. (common metadata like app version, country, device, etc.) Default attributes, custom attributes, and custom metricsįor custom code traces, Performance Monitoring automatically logs You should avoid creating custom code traces at high frequencies (for example, Note: Starting and stopping traces too rapidly can be resource intensive, so Table, which is at the bottom of the Performance dashboard (learn more about You can view data from these traces in the Custom traces subtab of the traces
Since the default metric collected for these traces is "duration", they are The APIs provided by the Performance Monitoring SDK.Ĭustom code traces can be started anytime after they've been created, and they In your code, you define the beginning and the end of a custom code trace using The starting and stopping points of the trace), but you can add The default metric for a custom code trace is its "duration" (the time between Long it takes your app to complete a specific task or a set of tasks, forĮxample loading a set of images or querying your database. With a custom code trace, you can measure how You can create your own traces to monitor performance data associated with Trace is a report of performance data captured between two points in time in Performance Monitoring collects traces to help you monitor the performance of your app.