概述
data analysis
一、rules 规则
系统会根据配置的规则,对原数据进行分析
数据结构
{
"type":"system",
"rules":[
{
"id":1,
"type":"log",
"condition":"xxxx"
},
{
"id":2,
"type":"assert",
"condition":"xxxx"
},
{
"id":3,
"type":"data",
"condition":"xxxx"
}
],
"relation":"id1|id2|id3",
"result":{
"type":"system",
"module":"bluetooth",
"desc":"蓝牙没打开"
},
"weights":1
type 规则类型
支持 coredump、system、test
- coredump 数据分析
- system 系统级别日志分析
- test 测试业务数据分析
rules 规则
- id 唯一标识
- type 匹配内容类型,log-行日志、assert-断言、data-直接数据
- condition 匹配条件,支持正则表达式,可配置多个条件
relation 匹配条件关系
多个条件id匹配关系,支持 与&、或|、非not、优先级()
result 匹配结果
- type 结果类型:cloud云端问题,system系统端问题
- module 问题模块:bluetooth蓝牙模块,alarm闹钟模块等。。
- desc 问题描述
weights 权重
同时匹配多个规则时,权重越大概率越高
打包上传
1.pip install twine 2.python setup.py sdist bdist_wheel --打包 3.twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --上传
Metadata
Release files for data-analyze 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| data-analyze-1.4.1.tar.gz | 7.2 kB | Without provenance | Details for data-analyze-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_analyze-1.4.1-py3-none-any.whl | Python 3 | none | any | Details for data_analyze-1.4.1-py3-none-any.whl |
Total release size: 18.4 kB
Release files / data-analyze-1.4.1.tar.gz
| Download URL | data-analyze-1.4.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e938080cdb3c6ea69c4426d6eee59b3201f186cec4a497ba471f0c2ef2ad6d3
|
|
BLAKE2b-256 checksum How to use checksums |
3a6e8779474bff03fcd700522ecef0579f458306f9118a943c3acb480f16a439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Release files / data_analyze-1.4.1-py3-none-any.whl
| Download URL | data_analyze-1.4.1-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48ffd20a027c5e4f8e616c4f79c205c026f4f7f8a0d97ac8a205d15ddc996b5b
|
|
BLAKE2b-256 checksum How to use checksums |
6bafc280d2d0109784b06d5536e3631da984cb321b2e64460acb801d2ac5a239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Security for data-analyze 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.