Skip to content

prashantabkari/cloudify_prometheus_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

A prometheus exporter in Go to fetch a basic metric - Number of Blueprints from Cloudify cluster.

Note : The exporter still need to be enhanced to cover other metrics such as deployments

Getting Started

Prerequisites

  • Golang
  • Cloudify that uses API version 3.1

Installing

  • Clone the repository.
  • Build the exporter from the directory : go build;go install

Running the exporter

cfy exporter <flags> Flags take the following options

 -cfy_password string
        Password to access cloudify cluster (default "admin")
  -cfy_username string
        User credentials to access  cloudify cluster (default "admin")
  -listen-port string
        Address on which to expose metrics. (default ":9117")
  -metrics-path string
        Path under which to expose metrics. (default "/metrics")
  -scrape_uri string
        Cloudify URI endpoint. Suffix /api/v3.1/ to the HTTP URL for example http://<IP address>/api/v3.1/
  -tenant string
        Tenant from which metrics are fetched (default "default_tenant")


Deployment


  • To deploy, build the binary: go build cfy_exporter.go

About

A prometheus exporter to fetch Cloudify metrics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages