Categorygithub.com/devashishRaj/norm
modulepackage
0.0.0-20240316181547-8f2461ed64ef
Repository: https://github.com/devashishraj/norm.git
Documentation: pkg.go.dev

# README

collect nomad metrics and bulk insert every 10 sec

this is development branch that uses https://developer.hashicorp.com/nomad/tutorials/get-started for testing and development purpose

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BatchBuild : it creates a slice of a struct metricStruct.ClickHouseSchema using metrics collected from FetchMetrics().
BulkSend : insert slice of metricStruct.ClickHouseSchema.
FetchMetrics : fetch nomad metrics in pretty format and returns a json file as per metricStruct.NomadMetrics struct.
NomadmetricsBulksend : collects metrics at interval of one second and after 10th collection it sends them into clickhouse.

# Structs

No description provided by the author