Skip to main content

A Cli for the Heroic TSDB

Project description

heroicli - A CLI for Heroic

Why 'heroicli`

because it was one of the options for synoyms of heroic or hero.

Config

heroicli will search ~/.heroicli.yaml or -c/--config for a config. The only required entry is heroicli.heroic.url

heroicli:
  heroic:
    url: http://heroic.local #required
    limits: 5000
    features: 
      - com.spotify.heroic.distributed_aggragations
    

--help is youi friend Uses:

heroicli key-inspect : Find all $keys. Queries the /metadata/key-suggest endpoint.

heroicli tag-inspect: Find all values for a specific tag. Queries the /metadata/tag-value-suggest endpoint

heroicli high-cardinality: Find tags with high cardinality(use --threshold). First finds all keys using key-inspect, which is used to make smaller queries to /metadata/tagkey-count endpoint.

Todo:

heroicli tag-discovery: Find all applicable tags/values for a given query

heroicli query: Run a query, print results (datapoints included)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heroicli-0.0.5.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file heroicli-0.0.5.tar.gz.

File metadata

  • Download URL: heroicli-0.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7

File hashes

Hashes for heroicli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c4a77b64565b54231c6e23418340a67d71e7cf87805bbf77e75f5f3ff24d10e5
MD5 5173362dcf7f439b6e346af0062664e5
BLAKE2b-256 beced88b9779b34ccda3b7210b5260881002004e3cb16024a2b6cd5dfd06c448

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page