Skip to content

A telemetry metrics reporter for Splunk using the HTTP Event Collector

Notifications You must be signed in to change notification settings

anthonyshull/telemetry_metrics_splunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelemetryMetricsSplunk

Version

Telemetry.Metrics reporter for Splunk metrics indexes using the Splunk HTTP Event Collector (HEC).

Installation

Add telemetry_metrics_splunk to your list of dependencies in mix.exs:

def deps do
  [
    {:telemetry_metrics_splunk, "~> 0.0.0"}
  ]
end

Usage

You can run the demo project to see TelemetryMetricsSplunk in action.

alias Telemetry.Metrics

children = [
  {Finch, name: MyFinch},
  {
    TelemetryMetricsSplunk, [
      finch: MyFinch,
      index: "main",
      metrics: [
        Metrics.summary("vm.memory.total")
      ],
      token: "00000000-0000-0000-0000-000000000000",
      url: "https://example.splunkcloud.com:8088/services/collector"
    ]
  }
]

Supervisor.start_link(children, strategy: :one_for_one)

About

A telemetry metrics reporter for Splunk using the HTTP Event Collector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages