Skip to content

vynjo/circonus-hashi-ui-bits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circonus and Hashicorp products

Integration tools, configuration examples, and sample of a complete stack implementation on Google Cloud. Current tools include Terraform, as well as Go and Node.js code (created prior to the Terraform integration was available)

Terraform

Finally, Monitoring as Code as of Terraform 0.9! The Terraform repo for all things Circonus. It is actively being built out.

Details here

Configuration info for your Consul, Nomad or Vault instance

Consul Server - add the following to your server.hcl file:

{
	"telemetry": {
		"circonus_api_token": "CIRCONUS-API-TOKEN"
		"circonus_check_tags": "type:server, service:consul"
          	"circonus_submission_interval": "1s"
	}
}

Consul Client - add the following to your client.hcl file:

{
	"telemetry": {
		"circonus_api_token": "CIRCONUS_API_TOKEN"
		"circonus_check_tags": "type:client, service:consul"
          	"circonus_submission_interval": "1s"
	}
}

Nomad Client - add the following to your client.hcl file:

telemetry {
	circonus_api_token = "CIRCONUS_API_TOKEN"
	publish_allocation_metrics = "true"
     	circonus_submission_interval = "1s"
	publish_node_metrics = "true"
	circonus_check_tags = "type:client, service:nomad"
}

Nomad Server - add the following to your server.hcl file:

telemetry {
	circonus_api_token = "CIRCONUS-API-TOKEN"
	circonus_check_tags = "type:server, service:nomad"
     	circonus_submission_interval = "1s"
     	publish_node_metrics = "true"
}

And lastly, your Vault Server - add the following to your vault.hcl file:

telemetry {
	circonus_api_token = "CIRCONUS-API-TOKEN"
     	circonus_submission_interval = "1s"
	circonus_check_tags = "type:server, service:vault"
}

More configuring information, as well as a full stack example, can be found in the hashiconf-napa-2016 github repo

If you don't want to use Terraform, there are go, and node.js tools as well:

GO Version for:

  • activate-metrics_by_search Activate metrics (which are currently available) via search query.
  • deactivate-metrics_by_search Deactivate metrics via search query.
  • deactivate-complete-allocs Deactivation of "Complete" Allocations.
  • create_cgc - Create Cluster, Graph, and CAQL Check for Numeric or Histogram metric types
  • create_cluster - Creating a Metric Cluster from a Query
  • create_cluster_and_graph - Creating a Metric Cluster and Graphfrom a Query
  • delete_checks_by_tag - Delete all checks with TAG
  • delete_clusters_by_tag - Delete all clusters with TAG
  • delete_graphs_by_tag - Delete all clusters with TAG

Node.js Versions for:

  • create-cluster.js
  • deactivate-complete-lost-allocs.js
  • deactivate-metrics.js
  • deactivate-complete-allocs.js
  • deactivate-lost-allocs.js
  • find-running-allocations.js

About

Tools to for Circonus and Hashicorp integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages