huzairuje / metric-summary

parse docs (either json or csv) into summary data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Summary Metric

Introduction

This is Shell CLI Apps Summary Metrics.

Getting Started

  1. Usage with binary
  2. Usage with golang
  3. Usage with parameters

1. Usage with binary

you can run the program itself by type this command, based on your operating system

a. windows binary

./bin/metric_summary_windows_amd64.exe <PARAMETER>

b. linux binary

./bin/metric_summary_linux_amd64 <PARAMETER>

c. MacOS (intel arch) binary

./bin/metric_summary_macos_amd64 <PARAMETER>

c. MacOS (Apple Silicon arch) binary

./bin/metric_summary_macos_arm64 <PARAMETER>

2. Usage with golang

go run main.go <PARAMETER>

3. Parameter

example parameter

./bin/metric_summary_windows_amd64.exe -d metrics/json/ -t json -startTime 2021-12-12T00:00:00.00Z -endTime 2022-11-30T00:23:59.21Z

or like this

./bin/metric_summary_windows_amd64.exe --duration metrics/json/ --type json -startTime 2021-12-12T00:00:00.00Z -endTime 2022-11-30T00:23:59.21Z

or this

go run main.go --duration metrics/json/ --type json -startTime 2021-12-12T00:00:00.00Z -endTime 2022-11-30T00:23:59.21Z

the default folder for output file is in summary folder, this folder is automatically created.

About

parse docs (either json or csv) into summary data


Languages

Language:Go 93.3%Language:Dockerfile 6.4%Language:Makefile 0.3%