@@ -63,7 +63,7 @@ export interface StartRecordingOptions {
6363 *
6464 * See [RUM Browser Monitoring Setup](https://docs.datadoghq.com/real_user_monitoring/browser) for further information.
6565 *
66- * @category API
66+ * @category Main
6767 */
6868export interface RumPublicApi extends PublicApi {
6969 /**
@@ -73,20 +73,13 @@ export interface RumPublicApi extends PublicApi {
7373 *
7474 * @category Init
7575 * @param initConfiguration - Configuration options of the SDK
76- * @example Init RUM Browser SDK example
76+ * @example
7777 * ```ts
7878 * datadogRum.init({
7979 * applicationId: '<DATADOG_APPLICATION_ID>',
8080 * clientToken: '<DATADOG_CLIENT_TOKEN>',
8181 * site: '<DATADOG_SITE>',
82- * // service: 'my-web-application',
83- * // env: 'production',
84- * // version: '1.0.0',
85- * sessionSampleRate: 100,
86- * sessionReplaySampleRate: 100,
87- * trackResources: true,
88- * trackLongTasks: true,
89- * trackUserInteractions: true,
82+ * // ...
9083 * })
9184 * ```
9285 */
@@ -158,6 +151,7 @@ export interface RumPublicApi extends PublicApi {
158151 * Get the init configuration
159152 *
160153 * @category Init
154+ * @returns RumInitConfiguration | undefined
161155 */
162156 getInitConfiguration : ( ) => RumInitConfiguration | undefined
163157
@@ -434,30 +428,33 @@ export interface RumPublicApi extends PublicApi {
434428 stopDurationVital : ( nameOrRef : string | DurationVitalReference , options ?: DurationVitalOptions ) => void
435429
436430 /**
437- * [Experimental] start a feature operation
431+ * start a feature operation
438432 *
439433 * @category Vital - Feature Operation
440434 * @param name - Name of the operation step
441435 * @param options - Options for the operation step (operationKey, context, description)
436+ * @hidden // TODO: replace by @since when GA
442437 */
443438 startFeatureOperation : ( name : string , options ?: FeatureOperationOptions ) => void
444439
445440 /**
446- * [Experimental] succeed a feature operation
441+ * succeed a feature operation
447442 *
448443 * @category Vital - Feature Operation
449444 * @param name - Name of the operation step
450445 * @param options - Options for the operation step (operationKey, context, description)
446+ * @hidden // TODO: replace by @since when GA
451447 */
452448 succeedFeatureOperation : ( name : string , options ?: FeatureOperationOptions ) => void
453449
454450 /**
455- * [Experimental] fail a feature operation
451+ * fail a feature operation
456452 *
457453 * @category Vital - Feature Operation
458454 * @param name - Name of the operation step
459455 * @param failureReason
460456 * @param options - Options for the operation step (operationKey, context, description)
457+ * @hidden // TODO: replace by @since when GA
461458 */
462459 failFeatureOperation : ( name : string , failureReaon : FailureReason , options ?: FeatureOperationOptions ) => void
463460}
0 commit comments