Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v1.0.0 · public · Published over 4 years ago

README
Asset Definition
Release Notes
Release Assets

Sensu Go Prometheus Mutator

TravisCI: TravisCI Build Status

The Sensu Go Prometheus Mutator is a Sensu Event Mutator which
mutates Sensu Go Event metrics into to the Prometheus metric
format
. This mutator is intended to be used in combination with a
TCP Event Handler to send metrics to a Sumo Logic collector.

This mutator turns this:

{
  "entity": "...",
  "metrics": {
    "handlers": [
      "sumologic"
    ],
    "points": [
      {
        "name": "sensu-go-sandbox.curl_timings.time_total",
        "tags": [
          {
            "name": "foo",
            "value": "42"
          }
        ],
        "timestamp": 1552506033,
        "value": 0.005
      },
      {
        "name": "sensu-go-sandbox.curl_timings.time_namelookup",
        "tags": [],
        "timestamp": 1552506033,
        "value": 0.004
      }
    ]
  },
  "timestamp": 1552506033
}

Into this:

sensu-go-sandbox.curl_timings.time_total{foo="42"} 0.005 1552506033000
sensu-go-sandbox.curl_timings.time_namelookup{} 0.004 1552506033000

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: