I should include the relevant article: 
https://www.robustperception.io/invalid-is-not-a-valid-start-token-and-other-scrape-errors

(and in other news I need to figure out how to paste code blocks)

On Tuesday, November 16, 2021 at 8:10:34 AM UTC+2 Dan S wrote:

> You can use promtool for this:
>
> ```
> cat metrics.txt | promtool check metrics
> error while linting: text format parsing error in line 444: unexpected end 
> of label value "persistent://public/default/"
> ```
>
> these metrics have values with quotes in them, there's a several:
> pulsar_subscriptions_count{cluster="pulsar-cluster-zk-1",namespace="public/default",topic="persistent://public/default/"qwerdf""}
>  
> 1.0 1636946709604
> pulsar_producers_count{cluster="pulsar-cluster-zk-1",namespace="public/default",topic="persistent://public/default/"qwerdf""}
>  
> 0.0 1636946709604
>
>
> Dan
>
> On Monday, November 15, 2021 at 11:49:46 AM UTC+2 Brian Candler wrote:
>
>> > As for the binary chop method, it's really a bit complicated....
>>
>> I'm not going to do it for you.
>>
>> If this is broken metric output from pulsar, then I suggest you take your 
>> problem to the pulsar mailing list.  I suggest you'll likely get a quicker 
>> response if you can help them by proving which metric(s) are invalid, which 
>> means doing the binary chop.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/195075ea-deaf-4997-8546-19af03808336n%40googlegroups.com.

Reply via email to