Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to parse "system_uptime_format" #16358

Open
quinten-lp opened this issue Dec 30, 2024 · 0 comments
Open

failed to parse "system_uptime_format" #16358

quinten-lp opened this issue Dec 30, 2024 · 0 comments
Labels
bug unexpected problem or unintended behavior

Comments

@quinten-lp
Copy link

quinten-lp commented Dec 30, 2024

Hi, here a issue I have with an update to the last version of telegraf.

Relevant telegraf.conf

here the telegraf configuration file : 


[[outputs.prometheus_client]]
    listen = "0.0.0.0:9126"
[[outputs.http]]
    url = "https://<url>/api/v1/write"
    data_format = "prometheusremotewrite"
    tls_ca = "/etc/monitoring/ca.crt"
    tls_cert = "/etc/monitoring/cert.crt"
    tls_key = "/etc/monitoring/cert.key"
    timeout = "30s"
    [outputs.http.headers]
    Content-Type = "application/x-protobuf"
    Content-Encoding = "snappy"
    X-Prometheus-Remote-Write-Version = "0.1.0"

[[inputs.cpu]]
    percpu = true
[[inputs.disk]]
    ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.system]]
[[inputs.swap]]
[[inputs.netstat]]
[[inputs.nstat]]
[[inputs.kernel]]
[[inputs.processes]]
[[inputs.interrupts]]
[[inputs.linux_sysctl_fs]]


### Logs from Telegraf

```text
here the logs : 


2024-12-30T14:27:39Z E! [serializers.prometheusremotewrite::http] some series were dropped, 555 series left to send; last recorded error: failed to parse "system_uptime_format": bad sample value " 3:51"
2024-12-30T14:27:49Z E! [serializers.prometheusremotewrite::http] some series were dropped, 612 series left to send; last recorded error: failed to parse "system_uptime_format": bad sample value " 3:51"
2024-12-30T14:27:59Z E! [serializers.prometheusremotewrite::http] some series were dropped, 612 series left to send; last recorded error: failed to parse "system_uptime_format": bad sample value " 3:51"


### System info

telegrad 1.33.0, debian 11 + debian 12

### Docker

_No response_

### Steps to reproduce

1. Install telegraf 1.33.0
2. Run telegraf service (or telegraf --debug command line)
3. check logs
...


### Expected behavior

Running telegraf without errors logs

### Actual behavior

Installation and running telegraf is OK, sending metrics to prometheus is OK but I have a lot à error in my logs like this : 

`[serializers.prometheusremotewrite::http] some series were dropped, 612 series left to send; last recorded error: failed to parse "system_uptime_format": bad sample value " 3:52"`

### Additional info

No errors with 1.32.1 version
@quinten-lp quinten-lp added the bug unexpected problem or unintended behavior label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant