nokpm

package
v0.0.0-...-01184fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Copyright © 2020 Zhengwei Gao<28912001@qq.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2020 Zhengwei Gao<28912001@qq.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var NUM_KPI_DEF_FIELDS = 8
View Source
var PmAggMax = []string{

	"M55114C00010",
	"M55114C00013",
	"M55114C00036",
	"M55308C02001",
	"M55308C02003",
	"M55308C20001",
	"M55308C20002",
	"M55308C21002",
	"M55308C21004",

	"M55138C00014",
	"M55138C00015",
	"M55138C00016",
	"M55138C00019",
	"M55138C00022",
	"M55138C01007",
	"M55138C01010",
	"M55351C00001",
	"M55351C01001",
}
View Source
var PmAggMin = []string{

	"M55139C00512",
}

Functions

This section is empty.

Types

type CsvHeaderPos

type CsvHeaderPos struct {
	// contains filtered or unexported fields
}

type KpiDef

type KpiDef struct {
	// contains filtered or unexported fields
}

type KpiParser

type KpiParser struct {
	// contains filtered or unexported fields
}

func (*KpiParser) CalcKpi

func (p *KpiParser) CalcKpi(rptPath string)

func (*KpiParser) Init

func (p *KpiParser) Init(log *zap.Logger, op, db string, maxgo int, debug bool)

func (*KpiParser) LoadPmDb

func (p *KpiParser) LoadPmDb(db, btsid, stime, etime string)

func (*KpiParser) ParseKpiDef

func (p *KpiParser) ParseKpiDef(kdf string)

type PmParser

type PmParser struct {
	// contains filtered or unexported fields
}

func (*PmParser) ArchiveRawPm

func (p *PmParser) ArchiveRawPm()

func (*PmParser) Init

func (p *PmParser) Init(log *zap.Logger, op, db string, debug bool)

func (*PmParser) Parse

func (p *PmParser) Parse(pm, tpm string)

func (*PmParser) ParseRawPmXml

func (p *PmParser) ParseRawPmXml(xml string)

func (*PmParser) ParseSqlQueryCsv

func (p *PmParser) ParseSqlQueryCsv(csv string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL