crholliday / iota-prom-exporter

Iota Exporter for Prometheus Metrics
32 stars 5 forks source link

Cannot GET / #3

Closed 77656233 closed 6 years ago

77656233 commented 6 years ago

Hey,

i tried to install the git on my debian and just get this on my page:

Cannot GET /

Anything i am doing wrong?

Thanks, Greetings, Chris

crholliday commented 6 years ago

It returns the metrics from:

localhost:9311/metrics

You probably need to add the "/metrics"

On Mon, Dec 18, 2017 at 7:26 AM, Christian Grieger <notifications@github.com

wrote:

Hey,

i tried to install the git on my debian and just get this on my page:

Cannot GET /

Anything i am doing wrong?

Thanks, Greetings, Chris

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crholliday/iota-prom-exporter/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AOgEa1XqrzPjzD5dHsXHgd1bOpz69dlyks5tBmf6gaJpZM4RFd1M .

-- Thanks,

Chris Holliday

77656233 commented 6 years ago

looking better but just returns text:

# HELP iota_node_info_total_transactions_queued Total open txs at the interval
# TYPE iota_node_info_total_transactions_queued gauge
iota_node_info_total_transactions_queued 88

# HELP iota_node_info_total_tips Total tips at the interval
# TYPE iota_node_info_total_tips gauge
iota_node_info_total_tips 5099

# HELP iota_node_info_total_neighbors Total neighbors at the interval
# TYPE iota_node_info_total_neighbors gauge
iota_node_info_total_neighbors 14

# HELP iota_node_info_latest_milestone Tangle milestone at the interval
# TYPE iota_node_info_latest_milestone gauge
iota_node_info_latest_milestone 305997

# HELP iota_node_info_latest_subtangle_milestone Subtangle milestone at the interval
# TYPE iota_node_info_latest_subtangle_milestone gauge
iota_node_info_latest_subtangle_milestone 305997

.....
crholliday commented 6 years ago

That is correct, Prometheus gets configured to call that URL and knows how to handle that text.

On Mon, Dec 18, 2017 at 7:41 AM, Christian Grieger <notifications@github.com

wrote:

looking better but just returns text:

HELP iota_node_info_total_transactions_queued Total open txs at the interval

TYPE iota_node_info_total_transactions_queued gauge

iota_node_info_total_transactions_queued 88

HELP iota_node_info_total_tips Total tips at the interval

TYPE iota_node_info_total_tips gauge

iota_node_info_total_tips 5099

HELP iota_node_info_total_neighbors Total neighbors at the interval

TYPE iota_node_info_total_neighbors gauge

iota_node_info_total_neighbors 14

HELP iota_node_info_latest_milestone Tangle milestone at the interval

TYPE iota_node_info_latest_milestone gauge

iota_node_info_latest_milestone 305997

HELP iota_node_info_latest_subtangle_milestone Subtangle milestone at the interval

TYPE iota_node_info_latest_subtangle_milestone gauge

iota_node_info_latest_subtangle_milestone 305997

.....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/crholliday/iota-prom-exporter/issues/3#issuecomment-352428298, or mute the thread https://github.com/notifications/unsubscribe-auth/AOgEa2UfddB91swrOGjoIAxpvFp3iHwDks5tBmt-gaJpZM4RFd1M .

-- Thanks,

Chris Holliday

77656233 commented 6 years ago

I see that Prometheus and Grafana needs to be also istalles. So not that easy for someone never did it. Would be cool to have a copy past tutorial to get this running :)

nuriel77 commented 6 years ago

@ChristianGrieger this installer includes prometheus, grafana and iota-prom-exporter: http://iri-playbook.readthedocs.io/en/master/installation.html#installing-only-iota-peer-manager-or-monitoring

It can install everything (+iri and iotapm) or you can try to install individual components as shown in the link

77656233 commented 6 years ago

@nuriel77 the normal peer manager is already installed and runs well on my system -> https://github.com/akashgoswami/ipm

I was just happy to see this new monitor tool and dashboards from this repo and wanted to get them run. So i will check the book and try to get the exporter also to run :)

crholliday commented 6 years ago

I updated the ReadMe to include the test url and to direct people to Nuriel's IRI-Playbook