Skip to content

Prometheus not connecting in netdata on host docker #23

@dancristi4n

Description

@dancristi4n

Hi,

I followed the instructions on "How To", but getting an error on Prometheus job 'netdata'
Apparently, it's can't connect to host/node.

prometheus.yml:

  • job_name: 'netdata'
    metrics_path: '/api/v1/allmetrics'
    params:
    format: [prometheus]
    honor_labels: true
    scrape_interval: 15s
    static_configs:
    - targets: ['localhost:19999']

Error:

Get http://localhost:19999/api/v1/allmetrics?format=prometheus: dial tcp 127.0.0.1:19999: connect: connection refused

How configure the prometheus.yml?

Thanks for advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions