github.com/prometheus/common/expfmt.TextParser.parseError (method)

21 uses

	github.com/prometheus/common/expfmt (current package)
		text_parse.go#L116: 		p.parseError("unexpected end of input stream")
		text_parse.go#L199: 		p.parseError("invalid metric name in comment")
		text_parse.go#L227: 		p.parseError("invalid metric name")
		text_parse.go#L281: 		p.parseError(fmt.Sprintf("invalid label name for metric %q", p.currentMF.GetName()))
		text_parse.go#L286: 		p.parseError(fmt.Sprintf("label name %q is reserved", model.MetricNameLabel))
		text_parse.go#L299: 		p.parseError(fmt.Sprintf("expected '=' after label name, found %q", p.currentByte))
		text_parse.go#L312: 		p.parseError(fmt.Sprintf("expected '\"' at start of label value, found %q", p.currentByte))
		text_parse.go#L319: 		p.parseError(fmt.Sprintf("invalid label value %q", p.currentToken.String()))
		text_parse.go#L330: 				p.parseError(fmt.Sprintf("expected float as value for 'quantile' label, got %q", p.currentLabelPair.GetValue()))
		text_parse.go#L342: 				p.parseError(fmt.Sprintf("expected float as value for 'le' label, got %q", p.currentLabelPair.GetValue()))
		text_parse.go#L362: 		p.parseError(fmt.Sprintf("unexpected end of label value %q", p.currentLabelPair.GetValue()))
		text_parse.go#L398: 		p.parseError(fmt.Sprintf("expected float as value, got %q", p.currentToken.String()))
		text_parse.go#L467: 		p.parseError(fmt.Sprintf("expected integer as timestamp, got %q", p.currentToken.String()))
		text_parse.go#L475: 		p.parseError(fmt.Sprintf("spurious string after timestamp: %q", p.currentToken.String()))
		text_parse.go#L485: 		p.parseError(fmt.Sprintf("second HELP line for metric name %q", p.currentMF.GetName()))
		text_parse.go#L500: 		p.parseError(fmt.Sprintf("second TYPE line for metric name %q, or TYPE reported after samples", p.currentMF.GetName()))
		text_parse.go#L509: 		p.parseError(fmt.Sprintf("unknown metric type %q", p.currentToken.String()))
		text_parse.go#L518: func (p *TextParser) parseError(msg string) {
		text_parse.go#L572: 				p.parseError(fmt.Sprintf("invalid escape sequence '\\%c'", p.currentByte))
		text_parse.go#L645: 				p.parseError(fmt.Sprintf("invalid escape sequence '\\%c'", p.currentByte))
		text_parse.go#L655: 			p.parseError(fmt.Sprintf("label value %q contains unescaped new-line", p.currentToken.String()))