ae-tracking 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +50 -0
- package/dist/bin/ae-tracking.d.ts +2 -0
- package/dist/bin/ae-tracking.js +20 -0
- package/dist/scripts/postinstall.d.ts +1 -0
- package/dist/scripts/postinstall.js +17 -0
- package/dist/src/auth.d.ts +12 -0
- package/dist/src/auth.js +215 -0
- package/dist/src/cli/auth.d.ts +8 -0
- package/dist/src/cli/auth.js +81 -0
- package/dist/src/cli/code.d.ts +2 -0
- package/dist/src/cli/code.js +85 -0
- package/dist/src/cli/debug.d.ts +2 -0
- package/dist/src/cli/debug.js +152 -0
- package/dist/src/cli/home.d.ts +4 -0
- package/dist/src/cli/home.js +15 -0
- package/dist/src/cli/init.d.ts +14 -0
- package/dist/src/cli/init.js +107 -0
- package/dist/src/cli/package-root.d.ts +1 -0
- package/dist/src/cli/package-root.js +20 -0
- package/dist/src/cli/plan.d.ts +2 -0
- package/dist/src/cli/plan.js +242 -0
- package/dist/src/cli/wiki.d.ts +2 -0
- package/dist/src/cli/wiki.js +20 -0
- package/dist/src/client.d.ts +62 -0
- package/dist/src/client.js +56 -0
- package/dist/src/config.d.ts +4 -0
- package/dist/src/config.js +29 -0
- package/dist/src/plan/autotrack.d.ts +18 -0
- package/dist/src/plan/autotrack.js +350 -0
- package/dist/src/plan/conflict.d.ts +34 -0
- package/dist/src/plan/conflict.js +106 -0
- package/dist/src/plan/draft.d.ts +39 -0
- package/dist/src/plan/draft.js +104 -0
- package/dist/src/plan/fix.d.ts +32 -0
- package/dist/src/plan/fix.js +187 -0
- package/dist/src/plan/types.d.ts +57 -0
- package/dist/src/plan/types.js +1 -0
- package/dist/src/project-detect/detect.d.ts +2 -0
- package/dist/src/project-detect/detect.js +120 -0
- package/dist/src/project-detect/types.d.ts +9 -0
- package/dist/src/project-detect/types.js +1 -0
- package/dist/src/te-debug/client.d.ts +12 -0
- package/dist/src/te-debug/client.js +54 -0
- package/dist/src/te-debug/types.d.ts +16 -0
- package/dist/src/te-debug/types.js +1 -0
- package/dist/src/te-plan/fetch.d.ts +3 -0
- package/dist/src/te-plan/fetch.js +47 -0
- package/dist/src/te-plan/types.d.ts +7 -0
- package/dist/src/te-plan/types.js +1 -0
- package/dist/src/wiki/block-to-md.d.ts +74 -0
- package/dist/src/wiki/block-to-md.js +88 -0
- package/dist/src/wiki/crawler.d.ts +3 -0
- package/dist/src/wiki/crawler.js +71 -0
- package/dist/src/wiki/index-writer.d.ts +4 -0
- package/dist/src/wiki/index-writer.js +70 -0
- package/dist/src/wiki/slugify.d.ts +1 -0
- package/dist/src/wiki/slugify.js +11 -0
- package/dist/src/wiki/types.d.ts +29 -0
- package/dist/src/wiki/types.js +1 -0
- package/dist/src/wiki-query/query.d.ts +8 -0
- package/dist/src/wiki-query/query.js +32 -0
- package/dist/src/xlsx/read.d.ts +2 -0
- package/dist/src/xlsx/read.js +457 -0
- package/dist/src/xlsx/write.d.ts +3 -0
- package/dist/src/xlsx/write.js +251 -0
- package/package.json +47 -0
- package/skills/generate-tracking-code/SKILL.md +551 -0
- package/skills/generate-tracking-code/references/client-sdk-insert.md +92 -0
- package/skills/generate-tracking-code/references/datax-config.md +41 -0
- package/skills/generate-tracking-code/references/debug-script.md +99 -0
- package/skills/generate-tracking-code/references/logbus-config.md +224 -0
- package/skills/generate-tracking-code/references/modes.md +81 -0
- package/skills/generate-tracking-code/references/restful-call.md +34 -0
- package/skills/generate-tracking-code/references/sdk-index.md +123 -0
- package/skills/generate-tracking-code/references/server-sdk-insert.md +175 -0
- package/skills/generate-tracking-code/references/snippet-delivery.md +240 -0
- package/skills/generate-tracking-code/references/te-api.md +181 -0
- package/skills/generate-tracking-plan/SKILL.md +826 -0
- package/skills/generate-tracking-plan/references/autotrack-events.md +238 -0
- package/skills/generate-tracking-plan/references/te-api.md +97 -0
- package/skills/generate-tracking-plan/references/xlsx-schema.md +149 -0
- package/skills/te-wiki-synthesize/SKILL.md +142 -0
- package/wiki/te-docs/index.md +223 -0
- package/wiki/te-docs/log.md +28 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/345/211/215/345/207/206/345/244/207/345/267/245/344/275/234//346/225/260/346/215/256/350/247/204/345/210/231.md +379 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/345/211/215/345/207/206/345/244/207/345/267/245/344/275/234//347/224/250/346/210/267/350/257/206/345/210/253/350/247/204/345/210/231.md +461 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/345/211/215/345/207/206/345/244/207/345/267/245/344/275/234//351/242/204/347/275/256/345/261/236/346/200/247/344/270/216/347/263/273/347/273/237/345/255/227/346/256/265.md +634 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/345/211/215/345/207/206/345/244/207/345/267/245/344/275/234.md +190 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227/restful-api-/344/275/277/347/224/250/346/214/207/345/215/227.md +195 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227/sdk-information-collection-rules.md +63 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/205/263/344/272/216-gdpr.md +81 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//345/220/210/350/247/204/346/214/207/345/215/227.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//346/233/264/346/226/260/346/227/245/345/277/227.md +502 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227//344/270/211/346/226/271/346/225/260/346/215/256.md +367 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +117 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +96 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +947 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +686 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android//350/277/233/351/230/266/346/214/207/345/215/227.md +1126 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/android.md +461 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//346/233/264/346/226/260/346/227/245/345/277/227-RCu1wk.md +64 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//346/233/264/346/226/260/346/227/245/345/277/227.md +167 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225-T57MwB.md +56 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +57 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227-JARDwp.md +455 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227.md +477 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c-Uicgw2.md +145 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/c.md +253 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/h5-/344/270/216-app-sdk-/346/211/223/351/200/232.md +179 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//346/233/264/346/226/260/346/227/245/345/277/227.md +491 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227//344/270/211/346/226/271/346/225/260/346/215/256.md +154 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +148 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +92 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +479 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +587 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//350/277/233/351/230/266/346/214/207/345/215/227.md +912 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios//351/232/220/347/247/201/346/270/205/345/215/225.md +183 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/ios.md +397 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//345/220/210/350/247/204/346/214/207/345/215/227.md +39 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//346/233/264/346/226/260/346/227/245/345/277/227.md +239 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +55 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +113 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +267 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript//350/277/233/351/230/266/346/214/207/345/215/227.md +455 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/javascript.md +257 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/macos//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +77 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/macos//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +249 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/macos//350/277/233/351/230/266/346/214/207/345/215/227.md +738 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/macos.md +317 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//345/220/210/350/247/204/346/214/207/345/215/227.md +345 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//346/233/264/346/226/260/346/227/245/345/277/227.md +128 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +60 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +121 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +286 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227.md +408 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +209 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/256/242/346/210/267/347/253/257-sdk-/345/270/270/350/247/201/351/227/256/351/242/230.md +72 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//345/220/210/350/247/204/346/214/207/345/215/227.md +56 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//346/233/264/346/226/260/346/227/245/345/277/227.md +313 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +78 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +58 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +192 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +301 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227.md +644 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217.md +440 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//345/220/210/350/247/204/346/214/207/345/215/227.md +35 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//346/233/264/346/226/260/346/227/245/345/277/227.md +49 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +53 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +32 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +65 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227.md +288 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua.md +236 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//345/220/210/350/247/204/346/214/207/345/215/227.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//346/233/264/346/226/260/346/227/245/345/277/227.md +122 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +27 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +53 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +177 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x//350/277/233/351/230/266/346/214/207/345/215/227.md +368 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-x.md +311 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//345/220/210/350/247/204/346/214/207/345/215/227.md +42 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//346/233/264/346/226/260/346/227/245/345/277/227.md +184 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +142 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +60 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +96 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +255 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator//350/277/233/351/230/266/346/214/207/345/215/227.md +659 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocoscreator.md +213 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//345/220/210/350/247/204/346/214/207/345/215/227.md +39 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//346/233/264/346/226/260/346/227/245/345/277/227.md +42 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +59 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +37 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +50 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona//350/277/233/351/230/266/346/214/207/345/215/227.md +281 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/corona.md +304 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//346/233/264/346/226/260/346/227/245/345/277/227.md +129 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +74 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +60 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +74 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +228 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227.md +640 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret.md +210 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//346/233/264/346/226/260/346/227/245/345/277/227.md +129 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +79 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +60 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +73 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +254 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227.md +626 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair.md +228 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//345/216/206/345/217/262/347/211/210/346/234/254-unity-sdk-/344/275/277/347/224/250/346/214/207/345/215/227.md +503 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//345/220/210/350/247/204/346/214/207/345/215/227.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//346/233/264/346/226/260/346/227/245/345/277/227.md +505 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//344/270/211/346/226/271/346/225/260/346/215/256.md +86 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//345/216/237/347/224/237-sdk-/345/217/257/346/217/222/346/213/224.md +44 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +55 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +53 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +156 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +293 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity//350/277/233/351/230/266/346/214/207/345/215/227.md +667 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unity.md +203 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//345/220/210/350/247/204/346/214/207/345/215/227.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//346/233/264/346/226/260/346/227/245/345/277/227.md +209 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//350/277/233/351/230/266/346/214/207/345/215/227//344/270/211/346/226/271/346/225/260/346/215/256.md +152 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +41 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +81 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +181 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal//350/277/233/351/230/266/346/214/207/345/215/227.md +346 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/unreal.md +228 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216.md +20 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//346/233/264/346/226/260/346/227/245/345/277/227.md +201 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +139 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +65 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter//350/277/233/351/230/266/346/214/207/345/215/227.md +356 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/flutter.md +176 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//346/233/264/346/226/260/346/227/245/345/277/227.md +162 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +60 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +140 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +23 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native//350/277/233/351/230/266/346/214/207/345/215/227.md +375 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/react-native.md +176 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//346/233/264/346/226/260/346/227/245/345/277/227.md +34 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +96 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +48 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +57 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +68 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +249 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app//350/277/233/351/230/266/346/214/207/345/215/227.md +420 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266/uni-app.md +193 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk//350/267/250/345/271/263/345/217/260/346/241/206/346/236/266.md +15 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//345/256/242/346/210/267/347/253/257-sdk.md +35 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/225/260/346/215/256/345/257/274/345/205/245/filebeat-logstash-/344/275/277/347/224/250/346/214/207/345/215/227.md +638 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/225/260/346/215/256/345/257/274/345/205/245/logbus2-/344/275/277/347/224/250/346/214/207/345/215/227.md +1140 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/225/260/346/215/256/345/257/274/345/205/245/ta-datax-writer-/346/217/222/344/273/266/344/275/277/347/224/250/346/214/207/345/215/227.md +256 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/225/260/346/215/256/345/257/274/345/205/245.md +17 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/225/260/346/225/260/347/247/221/346/212/200sdk/351/232/220/347/247/201/345/243/260/346/230/216.md +298 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//346/233/264/346/226/260/346/227/245/345/277/227-HZrPwz.md +80 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//346/233/264/346/226/260/346/227/245/345/277/227-U1zKwj.md +108 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//346/233/264/346/226/260/346/227/245/345/277/227.md +114 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225-LEb9wx.md +46 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225-TfR3wg.md +46 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +93 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247-U1Qvwk.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247-X08Fw7.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227-Jc1dwk.md +245 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227-YGuuwc.md +237 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c//350/277/233/351/230/266/346/214/207/345/215/227.md +242 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c-D4KBwg.md +211 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c-HF7Dwv.md +169 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/c.md +225 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/erlang//346/233/264/346/226/260/346/227/245/345/277/227.md +55 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/erlang//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +51 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/erlang//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/erlang//350/277/233/351/230/266/346/214/207/345/215/227.md +151 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/erlang.md +204 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/golang//346/233/264/346/226/260/346/227/245/345/277/227.md +135 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/golang//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +46 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/golang//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/golang//350/277/233/351/230/266/346/214/207/345/215/227.md +208 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/golang.md +193 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/java//346/233/264/346/226/260/346/227/245/345/277/227.md +138 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/java//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +52 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/java//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/java//350/277/233/351/230/266/346/214/207/345/215/227.md +289 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/java.md +214 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/lua//346/233/264/346/226/260/346/227/245/345/277/227.md +123 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +57 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/lua//350/277/233/351/230/266/346/214/207/345/215/227.md +234 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/lua.md +165 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/nodejs//346/233/264/346/226/260/346/227/245/345/277/227.md +89 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/nodejs//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +65 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/nodejs//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/nodejs//350/277/233/351/230/266/346/214/207/345/215/227.md +263 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/nodejs.md +161 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/php//346/233/264/346/226/260/346/227/245/345/277/227.md +86 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/php//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/php//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/php//350/277/233/351/230/266/346/214/207/345/215/227.md +269 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/php.md +206 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/python//346/233/264/346/226/260/346/227/245/345/277/227.md +155 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/python//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +47 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/python//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/python//350/277/233/351/230/266/346/214/207/345/215/227.md +274 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/python.md +162 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/ruby//346/233/264/346/226/260/346/227/245/345/277/227.md +53 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/ruby//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +50 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/ruby//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +75 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/ruby//350/277/233/351/230/266/346/214/207/345/215/227.md +226 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk/ruby.md +165 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227//346/234/215/345/212/241/347/253/257-sdk.md +23 -0
- package/wiki/te-docs/raw//346/216/245/345/205/245/346/214/207/345/215/227.md +64 -0
- package/wiki/te-docs/raw//350/277/233/351/230/266/346/225/260/346/215/256/347/261/273/345/236/213//345/217/257/346/233/264/346/226/260/344/272/213/344/273/266.md +109 -0
- package/wiki/te-docs/raw//350/277/233/351/230/266/346/225/260/346/215/256/347/261/273/345/236/213//351/246/226/346/254/241/344/272/213/344/273/266/346/240/241/351/252/214.md +88 -0
- package/wiki/te-docs/raw//350/277/233/351/230/266/346/225/260/346/215/256/347/261/273/345/236/213.md +22 -0
- package/wiki/te-docs/schema.md +17 -0
- package/wiki/te-docs/synthesis/batch-ingest-comparison.md +117 -0
- package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +136 -0
- package/wiki/te-docs/synthesis/restful-api-reference.md +142 -0
- package/wiki/te-docs/synthesis/sdk-selection.md +79 -0
- package/wiki/te-docs/synthesis/server-sdk-overview.md +124 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: java_sdk_advanced
|
|
3
|
+
name: "进阶指南"
|
|
4
|
+
wikiToken: YWaKwdZQ1irX0gkvF5pcq6HanBg
|
|
5
|
+
parentWikiToken: SMGDw5xMCiGynekTD0ccp9OJnQd
|
|
6
|
+
updateTime: 1745309852000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v5.0&lan=zh-CN&code=java_sdk_advanced
|
|
8
|
+
---
|
|
9
|
+
# 进阶指南
|
|
10
|
+
|
|
11
|
+
### 一、发送事件
|
|
12
|
+
|
|
13
|
+
在 SDK 初始化完成之后,您就可以进行数据埋点,收集用户的行为信息。一般情况下普通事件即可满足业务场景需求,您也可以根据自己的实际业务场景使用首次、可更新等事件。
|
|
14
|
+
|
|
15
|
+
#### 1.1 普通事件
|
|
16
|
+
|
|
17
|
+
您可以调用 `track` 来上传事件,建议您根据先前梳理的文档来设置事件的属性以及发送事件的条件,此处以用户购买某商品作为范例:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
//设置事件属性
|
|
21
|
+
Map<String,Object> properties = new HashMap<String,Object>();
|
|
22
|
+
properties.put("product_name","商品名");//字符串
|
|
23
|
+
try {
|
|
24
|
+
te.track("account_id","distinct_id","product_buy",properties);
|
|
25
|
+
} catch (Exception e) {
|
|
26
|
+
System.out.println("except:"+e);
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
#### 1.2 首次事件
|
|
31
|
+
|
|
32
|
+
首次事件是指针对某个设备或者其他维度的 ID,只会记录一次的事件。例如在一些场景下,您可能希望记录在某个设备上的激活事件,则可以用首次事件来上报数据。使用”首次事件校验“特性,必须要在properties中设置#first_check_id字段,类型为字符串。
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
// 上报首次事件,事件名为 device_activation,first_check_id的值为device_id
|
|
36
|
+
Map<String, Object> properties = new HashMap<>();
|
|
37
|
+
properties.put("price",100);
|
|
38
|
+
properties.put("status",3);
|
|
39
|
+
properties.put("#first_check_id","device_id");
|
|
40
|
+
te.trackFirst("account_id", "distinct_id", "device_activation", properties);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<!-- unsupported block: 34 -->
|
|
44
|
+
|
|
45
|
+
注意:由于在服务端完成对是否首次的校验,首次事件默认会延时 1 小时入库。
|
|
46
|
+
|
|
47
|
+
#### 1.3 可更新事件
|
|
48
|
+
|
|
49
|
+
您可以通过可更新事件实现特定场景下需要修改事件数据的需求。可更新事件需要指定标识该事件的 ID,并在创建可更新事件对象时传入。AE 后台将根据事件名和事件 ID 来确定需要更新的数据。
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
// 上报可更新事件,事件名为 UPDATABLE_EVENT
|
|
53
|
+
// 上报后事件属性 status 为 3, price 为 100
|
|
54
|
+
Map<String, Object> properties = new HashMap<>();
|
|
55
|
+
properties.put("price",100);
|
|
56
|
+
properties.put("status",3);
|
|
57
|
+
te.trackUpdate("account_id","distinct_id","UPDATABLE_EVENT","test_event_id",properties);
|
|
58
|
+
|
|
59
|
+
// 上报后同样的事件属性 status 被更新为 5, price 不变
|
|
60
|
+
Map<String, Object> protertiesNew = new HashMap<>();
|
|
61
|
+
protertiesNew.put("status",5);
|
|
62
|
+
te.trackUpdate("account_id", "distinct_id", "UPDATABLE_EVENT", "test_event_id", protertiesNew);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
#### 1.4 可重写事件
|
|
66
|
+
|
|
67
|
+
可重写事件与可更新事件类似,区别在于可重写事件会用最新的数据完全覆盖历史数据,从效果上看相当于删除前一条数据,并入库最新的数据。AE 后台将根据事件名和事件 ID 来确定需要更新的数据。
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
// 上报可重写事件,事件名为 OVERWRITE_EVENT
|
|
71
|
+
// 上报后事件属性 status 为 3, price 为 100
|
|
72
|
+
Map<String, Object> properties = new HashMap<>();
|
|
73
|
+
properties.put("price",100);
|
|
74
|
+
properties.put("status",3);
|
|
75
|
+
te.trackOverwrite("account_id","distinct_id", "OVERWRITE_EVENT","test_event_id", properties);
|
|
76
|
+
|
|
77
|
+
// 上报后事件属性 status 被更新为 5, price 属性被删除
|
|
78
|
+
Map<String, Object> protertiesNew = new HashMap<>();
|
|
79
|
+
protertiesNew.put("status",5);
|
|
80
|
+
te.trackOverwrite("account_id", "distinct_id", "OVERWRITE_EVENT", "test_event_id", protertiesNew);
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### 二、用户属性
|
|
84
|
+
|
|
85
|
+
AE 平台支持的用户属性设置API有: `userSet`、`userSetOnce`、`userAdd`、`userUnset`、`userDelete`、`userAppend`、`userUniqAppend`。
|
|
86
|
+
|
|
87
|
+
#### 2.1 userSet
|
|
88
|
+
|
|
89
|
+
对于一般的用户属性,您可以调用`userSet`来进行设置。使用该接口上传的属性将会覆盖原有的属性值,如果之前不存在该用户属性,则会新建该用户属性,类型与传入属性的类型一致,此处以设置用户名为例:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
//此时userName为TA
|
|
93
|
+
Map<String,Object> userProperties = new HashMap<String,Object>();
|
|
94
|
+
userProperties.put("user_name", "TA");
|
|
95
|
+
try {
|
|
96
|
+
te.userSet("account_id","distinct_id",userProperties);
|
|
97
|
+
} catch (Exception e) {
|
|
98
|
+
System.out.println("except:"+e);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
//此时userName为TE
|
|
102
|
+
Map<String,Object> newUserProperties = new HashMap<String,Object>();
|
|
103
|
+
newUserProperties.put("user_name", "TE");
|
|
104
|
+
try {
|
|
105
|
+
te.userSet("account_id","distinct_id",newUserProperties);
|
|
106
|
+
} catch (Exception e) {
|
|
107
|
+
System.out.println("except:"+e);
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### 2.2 userSetOnce
|
|
112
|
+
|
|
113
|
+
如果您要上传的用户属性只要设置一次,则可以调用`userSetOnce`来进行设置,当该属性之前已经有值的时候,将会忽略这条信息,再以设置用户名为例:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
//first_payment_time为2018-01-01 01:23:45.678
|
|
117
|
+
Map<String,Object> userProperties = new HashMap<String,Object>();
|
|
118
|
+
userProperties.put("first_payment_time","2018-01-01 01:23:45.678");
|
|
119
|
+
try {
|
|
120
|
+
te.userSetOnce("account_id","distinct_id",userProperties);
|
|
121
|
+
} catch (Exception e) {
|
|
122
|
+
System.out.println("except:"+e);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
//first_payment_time仍然为2018-01-01 01:23:45.678
|
|
126
|
+
Map<String,Object> newUserProperties = new HashMap<String,Object>();
|
|
127
|
+
newUserProperties.put("first_payment_time","2018-12-31 01:23:45.678");
|
|
128
|
+
try {
|
|
129
|
+
te.userSetOnce("account_id","distinct_id",newUserProperties);
|
|
130
|
+
} catch (Exception e) {
|
|
131
|
+
System.out.println("except:"+e);
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
#### 2.3 userAdd
|
|
136
|
+
|
|
137
|
+
当您要上传数值型的属性时,您可以调用`userAdd`来对该属性进行累加操作,如果该属性还未被设置,则会赋值 0 后再进行计算,可传入负值,等同于相减操作。此处以累计付费金额为例:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
Map<String,Object> userProperties = new HashMap<String,Object>();
|
|
141
|
+
userProperties.put("total_revenue",30);
|
|
142
|
+
//上传用户属性,此时"total_revenue"的值为30
|
|
143
|
+
try {
|
|
144
|
+
te.userAdd("account_id","distinct_id",userProperties);
|
|
145
|
+
} catch (Exception e) {
|
|
146
|
+
System.out.println("except:"+e);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
//再次上传用户属性,此时"total_revenue"的值会累加为678
|
|
150
|
+
Map<String,Object> newUserProperties = new HashMap<String,Object>();
|
|
151
|
+
newUserProperties.put("total_revenue",648);
|
|
152
|
+
try {
|
|
153
|
+
te.userAdd("account_id","distinct_id",newUserProperties);
|
|
154
|
+
} catch (Exception e) {
|
|
155
|
+
System.out.println("except:"+e);
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
<!-- unsupported block: 34 -->
|
|
160
|
+
|
|
161
|
+
设置的属性key为字符串,Value 只允许为数值。
|
|
162
|
+
|
|
163
|
+
#### 2.4 userAppend
|
|
164
|
+
|
|
165
|
+
您可以调用`userAppend`对数组类型的用户属性进行追加操作。
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Map<String,Object> properties = new HashMap<String,Object>();
|
|
169
|
+
List<String> list = new ArrayList<>();
|
|
170
|
+
list.add("apple");
|
|
171
|
+
list.add("ball");
|
|
172
|
+
properties.put("user_list",list);
|
|
173
|
+
try{
|
|
174
|
+
//此时user_list的属性值为["apple","ball"]
|
|
175
|
+
te.userAppend("account_id", "distinct_id", properties);
|
|
176
|
+
} catch (Exception e) {
|
|
177
|
+
System.out.println("except:"+e);
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
#### 2.5 userUniqAppend
|
|
182
|
+
|
|
183
|
+
您可以调用`userUniqAppend`对 数组类型的用户属性进行追加操作。调用`userUniqAppend`接口会对追加的用户属性进行去重,`userAppend`接口不做去重,用户属性可存在重复。
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
Map<String,Object> properties = new HashMap<String,Object>();
|
|
187
|
+
List<String> list = new ArrayList<>();
|
|
188
|
+
list.add("apple");
|
|
189
|
+
list.add("ball");
|
|
190
|
+
properties.put("user_list",list);
|
|
191
|
+
|
|
192
|
+
Map<String,Object> newProperties = new HashMap<String,Object>();
|
|
193
|
+
List<String> newList = new ArrayList<>();
|
|
194
|
+
newList.add("apple");
|
|
195
|
+
newList.add("cube");
|
|
196
|
+
newProperties.put("user_list", newList);
|
|
197
|
+
try{
|
|
198
|
+
//此时user_list的属性值为["apple","ball"]
|
|
199
|
+
te.userAppend("account_id", "distinct_id", properties);
|
|
200
|
+
//此时user_list的属性值为["apple","apple","ball","cube"]
|
|
201
|
+
te.userAppend("account_id", "distinct_id",newProperties);
|
|
202
|
+
//此时user_list的属性值为["apple","ball","cube"]
|
|
203
|
+
te.userUniqAppend("account_id", "distinct_id",newProperties);
|
|
204
|
+
} catch (Exception e) {
|
|
205
|
+
System.out.println("except:"+e);
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
#### 2.6 userUnset
|
|
210
|
+
|
|
211
|
+
当您要清空用户的用户属性值时,您可以调用`userUnset`来对指定属性进行清空操作,如果该属性还未在集群中被创建,则`userUnset`不会创建该属性
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
// 重置多个用户属性
|
|
215
|
+
try {
|
|
216
|
+
te.userUnset("account_id", "distinct_id", "key1", "key2", "key3");
|
|
217
|
+
} catch (Exception e) {
|
|
218
|
+
System.out.println("except:"+e);
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
<!-- unsupported block: 34 -->
|
|
223
|
+
|
|
224
|
+
user_unset: 的传入值为被清空属性的 Key 值。
|
|
225
|
+
|
|
226
|
+
#### 2.7 userDelete
|
|
227
|
+
|
|
228
|
+
如果您要删除某个用户,可以调用`userDelete`将这名用户删除,您将无法再查询该名用户的用户属性,但该用户产生的事件仍然可以被查询到,该操作可能产生不可逆的后果,请慎用
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
try{
|
|
232
|
+
te.userDelete("account_id","distinct_id");
|
|
233
|
+
} catch (Exception e) {
|
|
234
|
+
System.out.println("except:"+e);
|
|
235
|
+
}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### 三、其他功能
|
|
239
|
+
|
|
240
|
+
#### 3.1 TDBatchConsumer
|
|
241
|
+
|
|
242
|
+
::: warning 注意
|
|
243
|
+
|
|
244
|
+
当数据量过大或者网络异常时,有数据丢失的风险,不建议在正式环境中使用
|
|
245
|
+
|
|
246
|
+
:::
|
|
247
|
+
|
|
248
|
+
批量实时地向 AE 服务器传输数据,不需要搭配传输工具,因网络问题发送失败时会重试3次,仍然失败将会把数据存入缓存区,可设置缓存区大小,默认50,即缓存区保留的数据总数最大为50*20(20为每次上传的batch值,可设置)。
|
|
249
|
+
|
|
250
|
+
```
|
|
251
|
+
TDAnalytics te = null;
|
|
252
|
+
try {
|
|
253
|
+
te = new TDAnalytics(new TDBatchConsumer("SERVER_URL", "APPID"));
|
|
254
|
+
} catch (Exception ignored){
|
|
255
|
+
|
|
256
|
+
}
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
参数说明:
|
|
260
|
+
|
|
261
|
+
- `APPID`: 您的项目的 APPID,可通过在 AE 后台项目管理页面获取
|
|
262
|
+
- `SERVER_URL`: 数据上传的 URL
|
|
263
|
+
- 如果您对接的是云服务,填入: https://global-receiver-ta.thinkingdata.cn
|
|
264
|
+
- 如果您使用私有化部署版本,请为数据采集地址绑定域名,并配置 HTTPS 证书:https://数据采集地址绑定域名
|
|
265
|
+
#### 3.2 定时刷新功能
|
|
266
|
+
|
|
267
|
+
可以配置 Config 中的 interval 和 autoFlush 参数开启定时上报数据的功能。
|
|
268
|
+
|
|
269
|
+
```
|
|
270
|
+
TDAnalytics te = null;
|
|
271
|
+
|
|
272
|
+
// e.g. TDLogConsumer
|
|
273
|
+
try {
|
|
274
|
+
TDLoggerConsumer.Config config = new TDLoggerConsumer.Config("./log");
|
|
275
|
+
// The cache event is reported every 10 seconds
|
|
276
|
+
config.setAutoFlush(true);
|
|
277
|
+
config.setInterval(10);
|
|
278
|
+
te = new TDAnalytics(new TDLoggerConsumer(config));
|
|
279
|
+
} catch (Exception ignored){}
|
|
280
|
+
|
|
281
|
+
// e.g. TDBatchConsumer
|
|
282
|
+
try {
|
|
283
|
+
TDBatchConsumer.Config config = new TDBatchConsumer.Config();
|
|
284
|
+
// The cache event is reported every 10 seconds
|
|
285
|
+
config.setAutoFlush(true);
|
|
286
|
+
config.setInterval(10);
|
|
287
|
+
te = new TDAnalytics(new TDBatchConsumer("url", "appId", config));
|
|
288
|
+
} catch (Exception ignored){}
|
|
289
|
+
```
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: java_sdk_installation
|
|
3
|
+
name: "Java"
|
|
4
|
+
wikiToken: SMGDw5xMCiGynekTD0ccp9OJnQd
|
|
5
|
+
parentWikiToken: O3YxwgHGiiEnvYkHCcIcX51inkf
|
|
6
|
+
updateTime: 1767773958000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v5.0&lan=zh-CN&code=java_sdk_installation
|
|
8
|
+
---
|
|
9
|
+
# Java
|
|
10
|
+
|
|
11
|
+
::: tip 提示
|
|
12
|
+
|
|
13
|
+
在接入前, 请先阅读接入前准备。
|
|
14
|
+
|
|
15
|
+
Java SDK最低兼容 JDK 8 版本
|
|
16
|
+
|
|
17
|
+
:::
|
|
18
|
+
|
|
19
|
+
**最新版本为**:v3.0.4-beta.1
|
|
20
|
+
|
|
21
|
+
**更新时间为**:2026-01-07
|
|
22
|
+
|
|
23
|
+
**资源下载**: 源代码
|
|
24
|
+
|
|
25
|
+
::: warning 注意
|
|
26
|
+
|
|
27
|
+
当前文档适用于 v3.0.0 及以后的版本,历史版本请参考 Java SDK 接入指南(V2)
|
|
28
|
+
|
|
29
|
+
SDK 的 API 是线程安全的,默认为同步调用。当上报数据量过大时,您可以在子线程中调用 API,避免影响业务线程。
|
|
30
|
+
|
|
31
|
+
:::
|
|
32
|
+
|
|
33
|
+
### 一、集成SDK
|
|
34
|
+
|
|
35
|
+
1. 使用 Maven 集成 SDK,请在`pom.xml`文件中置入以下依赖信息:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
<dependencies>
|
|
39
|
+
// others...
|
|
40
|
+
<dependency>
|
|
41
|
+
<groupId>cn.thinkingdata</groupId>
|
|
42
|
+
<artifactId>thinkingdatasdk</artifactId>
|
|
43
|
+
<version>3.0.2</version>
|
|
44
|
+
</dependency>
|
|
45
|
+
</dependencies>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
2. 安装Logbus
|
|
49
|
+
|
|
50
|
+
我们推荐使用SDK+LogBus的形式,完成服务端数据的采集上报.您可以参考以下文档完成Logbus的安装:LogBus使用指南
|
|
51
|
+
|
|
52
|
+
### 二、初始化
|
|
53
|
+
|
|
54
|
+
#### 方式一
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
*TDAnalytics te *= new TDAnalytics(new TDLoggerConsumer("LOG_DIRECTORY"), false);
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`LOG_DIRECTORY`为数据写入的文件夹路径。
|
|
61
|
+
|
|
62
|
+
#### 方式二
|
|
63
|
+
|
|
64
|
+
SDK 支持传入配置进行初始化,你可以通过配置精细化控制 SDK 的功能。例如可以给日志文件添加前缀。
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
TDLoggerConsumer.Config config = new TDLoggerConsumer.Config("LOG_DIRECTORY");
|
|
68
|
+
config.setFilenamePrefix("unique_name");
|
|
69
|
+
*TDAnalytics te *= new TDAnalytics(new TDLoggerConsumer(config), false);
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 三、常用功能
|
|
73
|
+
|
|
74
|
+
为了保证访客 ID 与账号 ID 能够顺利进行绑定,如果您的游戏中会用到访客 ID 与账号 ID,我们极力建议您同时上传这两个 ID,否则将会出现账号无法匹配的情况,导致用户重复计算,具体的 ID 绑定规则可参考用户识别规则一章。
|
|
75
|
+
|
|
76
|
+
#### 3.1 发送事件
|
|
77
|
+
|
|
78
|
+
您可以调用`track`来上传事件,建议您根据先前梳理的文档来设置事件的属性以及发送信息的条件,以下是发送事件的示例代码:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
//设置事件属性
|
|
82
|
+
HashMap<String,Object> properties = new HashMap<>();
|
|
83
|
+
// 设置用户的ip地址,TE系统会根据IP地址解析用户的地理位置信息
|
|
84
|
+
properties.put("#ip", "192.168.1.1");//字符串
|
|
85
|
+
properties.put("channel","te");//字符串
|
|
86
|
+
properties.put("age",1);//数字
|
|
87
|
+
properties.put("isSuccess",true);//布尔
|
|
88
|
+
properties.put("birthday",new Date());//时间
|
|
89
|
+
|
|
90
|
+
HashMap<String,Object> object = new HashMap<>();
|
|
91
|
+
object.put("key", "value");
|
|
92
|
+
properties.put("object",object);//对象
|
|
93
|
+
|
|
94
|
+
HashMap<String,Object> object1 = new HashMap<>();
|
|
95
|
+
object1.put("key", "value");
|
|
96
|
+
|
|
97
|
+
ArrayList<Object> arr = new ArrayList<>();
|
|
98
|
+
arr.add(object1);
|
|
99
|
+
properties.put("object_arr",arr);//对象组
|
|
100
|
+
|
|
101
|
+
ArrayList<String> arr1 = new ArrayList<>();
|
|
102
|
+
arr1.add("value");
|
|
103
|
+
properties.put("arr",arr1);//数组
|
|
104
|
+
|
|
105
|
+
try {
|
|
106
|
+
te.track("account_id","distinct_id","payment",properties);
|
|
107
|
+
} catch (Exception e) {
|
|
108
|
+
System.*out*.println("except:"+e);
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
- 事件的名称是字符串类型,只能以字母开头,可包含数字,字母和下划线 "_",长度最大为 50 个字符。
|
|
113
|
+
- Key 为该属性的名称,为字符串类型,规定只能以字母开头,包含数字,字母和下划线 "_",长度最大为 50 个字符,对字母大小写不敏感,TE会统一转化为小写字母
|
|
114
|
+
- Value 为该属性的值,支持字符串、数字、布尔、时间、对象、对象组、数组
|
|
115
|
+
<!-- unsupported block: 34 -->
|
|
116
|
+
|
|
117
|
+
**用户属性的要求与事件属性保持一致**
|
|
118
|
+
|
|
119
|
+
#### 3.2 设置用户属性
|
|
120
|
+
|
|
121
|
+
对于一般的用户属性,您可以调用 `userSet` 来进行设置,使用该接口上传的属性将会覆盖原有的属性值,如果之前不存在该用户属性,则会新建该用户属性,类型与传入属性的类型一致,此处以设置用户名为例:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
//此时username为TA
|
|
125
|
+
Map<String,Object> userProperties = new HashMap<String,Object>();
|
|
126
|
+
userProperties.put("user_name", "TA");
|
|
127
|
+
try {
|
|
128
|
+
te.userSet("account_id","distinct_id",userProperties);
|
|
129
|
+
} catch (Exception e) {
|
|
130
|
+
System.out.println("except:"+e);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
//此时userName为TE
|
|
134
|
+
Map<String,Object> newUserProperties = new HashMap<String,Object>();
|
|
135
|
+
newUserProperties.put("user_name", "TE");
|
|
136
|
+
try {
|
|
137
|
+
te.userSet("account_id","distinct_id",newUserProperties);
|
|
138
|
+
} catch (Exception e) {
|
|
139
|
+
System.out.println("except:"+e);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
#### 3.3 数据上报
|
|
145
|
+
|
|
146
|
+
使用 TDLogConsumer 时,采集到的事件会先编码成 json 字符串,然后添加到缓存中。当缓存中的字符串长度超出设置的长度时才会将数据写入磁盘。默认最大长度为 8192 byte。
|
|
147
|
+
|
|
148
|
+
在某些业务场景下,如果您期望数据立即上报到TE服务器,可以通过调用`flush()`接口完成。需要注意,频繁调用`flush()`会导致服务性能下降。
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
te.flush();
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
#### 3.4 关闭SDK
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
try{
|
|
158
|
+
te.close();
|
|
159
|
+
} catch (Exception e) {
|
|
160
|
+
System.out.println("except:"+e);
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
<!-- unsupported block: 34 -->
|
|
165
|
+
|
|
166
|
+
关闭并退出 sdk,请在关闭服务器前调用本接口,以避免缓存内的数据丢失
|
|
167
|
+
|
|
168
|
+
### 四、最佳实践
|
|
169
|
+
|
|
170
|
+
以下示例代码包含以上所有操作,我们推荐按照如下步骤使用:
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
//初始化SDK, LOG_DIRECTORY 为写入本地的文件夹地址
|
|
174
|
+
*TDAnalytics te *= new TDAnalytics(new TDLoggerConsumer("LOG_DIRECTORY"), false);
|
|
175
|
+
|
|
176
|
+
//设置事件属性
|
|
177
|
+
HashMap<String,Object> properties = new HashMap<>();
|
|
178
|
+
// 设置用户的ip地址,TE系统会根据IP地址解析用户的地理位置信息
|
|
179
|
+
properties.put("#ip", "192.168.1.1");//字符串
|
|
180
|
+
properties.put("channel","te");//字符串
|
|
181
|
+
properties.put("age",1);//数字
|
|
182
|
+
properties.put("isSuccess",true);//布尔
|
|
183
|
+
properties.put("birthday",new Date());//时间
|
|
184
|
+
|
|
185
|
+
HashMap<String,Object> object = new HashMap<>();
|
|
186
|
+
object.put("key", "value");
|
|
187
|
+
properties.put("object",object);//对象
|
|
188
|
+
|
|
189
|
+
HashMap<String,Object> object1 = new HashMap<>();
|
|
190
|
+
object1.put("key", "value");
|
|
191
|
+
|
|
192
|
+
ArrayList<Object> arr = new ArrayList<>();
|
|
193
|
+
arr.add(object1);
|
|
194
|
+
properties.put("object_arr",arr);//对象组
|
|
195
|
+
|
|
196
|
+
ArrayList<String> arr1 = new ArrayList<>();
|
|
197
|
+
arr1.add("value");
|
|
198
|
+
properties.put("arr",arr1);//数组
|
|
199
|
+
|
|
200
|
+
try {
|
|
201
|
+
te.track("account_id","distinct_id","payment",properties);
|
|
202
|
+
} catch (Exception e) {
|
|
203
|
+
System.*out*.println("except:"+e);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
//设置用户属性
|
|
207
|
+
Map<String,Object> userProperties = new HashMap<String,Object>();
|
|
208
|
+
userProperties.put("user_name", "TE");
|
|
209
|
+
try {
|
|
210
|
+
te.userSet("account_id","distinct_id",userProperties);
|
|
211
|
+
} catch (Exception e) {
|
|
212
|
+
System.out.println("except:"+e);
|
|
213
|
+
}
|
|
214
|
+
```
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: lua_sdk_release_note
|
|
3
|
+
name: "更新日志"
|
|
4
|
+
wikiToken: O4nWwLcUmiPpqkkwSgscbL6gn1d
|
|
5
|
+
parentWikiToken: Bh3HwNcaUingcEkSTX6cwjNOnhu
|
|
6
|
+
updateTime: 1767870034000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v5.0&lan=zh-CN&code=lua_sdk_release_note
|
|
8
|
+
---
|
|
9
|
+
# 更新日志
|
|
10
|
+
|
|
11
|
+
### v2.0.1
|
|
12
|
+
|
|
13
|
+
**更新时间:2026/01/08**
|
|
14
|
+
|
|
15
|
+
**更新内容:**
|
|
16
|
+
|
|
17
|
+
- 提升稳定性
|
|
18
|
+
### v2.0.0
|
|
19
|
+
|
|
20
|
+
**更新时间:2023/12/01**
|
|
21
|
+
|
|
22
|
+
**更新内容:**
|
|
23
|
+
|
|
24
|
+
- 发布正式版本
|
|
25
|
+
### v2.0.0-beta.1
|
|
26
|
+
|
|
27
|
+
**更新时间:2023/10/08**
|
|
28
|
+
|
|
29
|
+
**更新内容:**
|
|
30
|
+
|
|
31
|
+
- 启用新的API,类名添加 TD 前缀
|
|
32
|
+
- 新增日志打印开关
|
|
33
|
+
### v1.5.4
|
|
34
|
+
|
|
35
|
+
**更新时间:2023/09/01**
|
|
36
|
+
|
|
37
|
+
**更新内容:**
|
|
38
|
+
|
|
39
|
+
- 发布 1.5.4 正式版本
|
|
40
|
+
### v1.5.4-beta.2
|
|
41
|
+
|
|
42
|
+
**更新时间:2023/07/31**
|
|
43
|
+
|
|
44
|
+
**更新内容:**
|
|
45
|
+
|
|
46
|
+
- 支持无配置ssl证书的上报地址
|
|
47
|
+
### v1.5.4-beta.1
|
|
48
|
+
|
|
49
|
+
**更新时间:2023/04/23**
|
|
50
|
+
|
|
51
|
+
**更新内容:**
|
|
52
|
+
|
|
53
|
+
- 修改日志文件轮转分页逻辑
|
|
54
|
+
- 支持 https
|
|
55
|
+
- 修改 uuid 生成方式
|
|
56
|
+
### v1.5.3
|
|
57
|
+
|
|
58
|
+
**更新时间:2022/11/24**
|
|
59
|
+
|
|
60
|
+
**更新内容:**
|
|
61
|
+
|
|
62
|
+
- 支持TE后台实时debug模式
|
|
63
|
+
### v1.5.2
|
|
64
|
+
|
|
65
|
+
**更新时间: 2022/10/27**
|
|
66
|
+
|
|
67
|
+
**更新内容:**
|
|
68
|
+
|
|
69
|
+
- 优化文件写入方法
|
|
70
|
+
### v1.5.1
|
|
71
|
+
|
|
72
|
+
**更新时间: 2022/09/21**
|
|
73
|
+
|
|
74
|
+
**更新内容:**
|
|
75
|
+
|
|
76
|
+
- 修复Bug:用户属性的Key以#号开头,会出现数据发送异常
|
|
77
|
+
### v1.5.0
|
|
78
|
+
|
|
79
|
+
**更新时间: 2022/08/08**
|
|
80
|
+
|
|
81
|
+
**更新内容:**
|
|
82
|
+
|
|
83
|
+
- 去除Util文件
|
|
84
|
+
- 代码优化
|
|
85
|
+
### v1.4.0
|
|
86
|
+
|
|
87
|
+
**更新时间: 2022/04/26**
|
|
88
|
+
|
|
89
|
+
**更新内容:**
|
|
90
|
+
|
|
91
|
+
- 支持创建默认事件uuid
|
|
92
|
+
- 支持动态公共属性
|
|
93
|
+
- 支持首次事件
|
|
94
|
+
- 新增user_uniq_append事件
|
|
95
|
+
### v1.3.0
|
|
96
|
+
|
|
97
|
+
**更新时间: 2022/02/28**
|
|
98
|
+
|
|
99
|
+
**更新内容:**
|
|
100
|
+
|
|
101
|
+
- 支持上传复杂结构类型
|
|
102
|
+
### v1.2.0
|
|
103
|
+
|
|
104
|
+
**更新时间: 2021/03/12**
|
|
105
|
+
|
|
106
|
+
**更新内容:**
|
|
107
|
+
|
|
108
|
+
- BatchConsumer模式增加可设置最大缓存值
|
|
109
|
+
### v1.1.1
|
|
110
|
+
|
|
111
|
+
**更新时间: 2021/02/23**
|
|
112
|
+
|
|
113
|
+
**更新内容:**
|
|
114
|
+
|
|
115
|
+
- 增加DebugConsumer模式的debugOnly功能
|
|
116
|
+
- BatchConsumer模式在因网络问题发送失败时不删除数据
|
|
117
|
+
### v1.1.0
|
|
118
|
+
|
|
119
|
+
**更新时间: 2021/01/13**
|
|
120
|
+
|
|
121
|
+
**更新内容:**
|
|
122
|
+
|
|
123
|
+
- 修复指定文件大小时无法生成文件的错误
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: lua_sdk_debug
|
|
3
|
+
name: "实时调试"
|
|
4
|
+
wikiToken: RCKywXlqti3YDGkXrOIcKpjdnUd
|
|
5
|
+
parentWikiToken: PKA9w8heciZ4wCkyJoucMeaBnzh
|
|
6
|
+
updateTime: 1745309897000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v5.0&lan=zh-CN&code=lua_sdk_debug
|
|
8
|
+
---
|
|
9
|
+
# 实时调试
|
|
10
|
+
|
|
11
|
+
::: warning 注意
|
|
12
|
+
|
|
13
|
+
SDK Debug 模式仅供接入调试时使用,严禁应用在生产环境。
|
|
14
|
+
|
|
15
|
+
:::
|
|
16
|
+
|
|
17
|
+
在SDK接入过程中,您可以通过查看SDK在IDE控制台中的日志或者使用TE的Debug功能,进行实时调试。
|
|
18
|
+
|
|
19
|
+
### 一、打印SDK日志
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
local tdAnalytics = require "ThinkingDataSdk"
|
|
23
|
+
-- enable log
|
|
24
|
+
TDAnalytics.enableLog(true)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### 二、开启 Debug 模式
|
|
28
|
+
|
|
29
|
+
开启Debug模式需要如下两步操作:
|
|
30
|
+
|
|
31
|
+
1. 使用DebugConsumer
|
|
32
|
+
以下使用DebugConsumer的示例代码:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
-- DebugConsumer:数据逐条上报。当出现问题时会以日志和异常的方式提示用户;不建议在线上环境使用
|
|
36
|
+
local tdAnalytics = require "ThinkingDataSdk"
|
|
37
|
+
local consumer = tdAnalytics.TDDebugConsumer("SERVER_URL", "APP_ID", false, "DeviceId")
|
|
38
|
+
local sdk = tdAnalytics(consumer)
|
|
39
|
+
--设置访客ID"ABCDEFG123456789"
|
|
40
|
+
local distinctId = "ABCDEFG123456789"
|
|
41
|
+
--设置账号ID"TE_10001"
|
|
42
|
+
local accountId = "TE_10001"
|
|
43
|
+
--设置事件属性
|
|
44
|
+
local properties = {}
|
|
45
|
+
--设置用户的ip地址,TE系统会根据IP地址解析用户的地理位置信息,如果不设置的话,则默认不上报
|
|
46
|
+
properties["#ip"] = "192.168.1.1"
|
|
47
|
+
properties["#device_id"] = "te_device_id"
|
|
48
|
+
--上传事件,包含用户的访客ID与账号ID,请注意账号ID与访客ID的顺序,两者不能全部为空
|
|
49
|
+
sdk:track(accountId, distinctId, "payment", properties)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
1. TE后台添加Debug设备
|
|
53
|
+
为了避免 Debug 模式在生产环境上线,规定只有指定的设备才能开启 Debug 模式。只有在客户端开启了 Debug 模式,并且设备 ID 在 AE 后台的"埋点管理"页的"Debug 数据"板块中配置了的设备才能开启 Debug 模式。
|
|
54
|
+
|
|
55
|
+
<!-- unsupported block: 34 -->
|
|
56
|
+
|
|
57
|
+
Debug 模式可能会影响数据采集质量和 App 的稳定性,只用于集成阶段数据验证,不要在线上环境使用。
|