You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

2 years ago
//
// AppMonitorSDK.h
// AppMonitorSDK
//
// Created by junzhan on 14-9-9.
// Copyright (c) 2014年 君展. All rights reserved.
// 接口类
#import <Foundation/Foundation.h>
#import "AppMonitorTable.h"
#import "AppMonitorAlarm.h"
#import "AppMonitorCounter.h"
#import "AppMonitorStat.h"
@interface AppMonitor : NSObject
+ (BOOL)isInit;
+ (BOOL) isUTInit;
+ (void) setUTInit;
+ (instancetype)sharedInstance;
/*
*
* @param jsonStr JSON串
*/
+ (void)setSamplingConfigWithJson:(NSString *)jsonStr;
/**
* 线API
*/
+ (void)disableSample;
/**
* ( 50%) [0~10000] (010000100%500050%)
*/
+ (void)setSampling:(NSString *)sampling;
////是否开启实时调试模式(与UT同步)
+ (BOOL)isTurnOnRealTimeDebug;
+ (NSString*)realTimeDebugUploadUrl;
+ (NSString*)realTimeDebugId;
+(void) turnOnAppMonitorRealtimeDebug:(NSDictionary *) pDict;
+(void) turnOffAppMonitorRealtimeDebug;
@end