Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/circonus-labs/go-apiclient/examples/graph/overlays

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/circonus-labs/go-apiclient/examples/graph/overlays

  • v0.0.0-20231205204618-fea2cf1275b9
  • Source
  • Go
  • Socket score

Version published
Created
Source

Test Graph Overlays

This runs a full test on graph overlay types.

  1. Retrieve the specified graph using the Circonus API
  2. Modify configuraiton, adding an overlay
  3. Update the graph using the modified configuration via the Circonus API

No errors should occur - none from the api, and none parsing the returned graph object

Note: This is a LIVE test. It will contact the Circonus API and the graph will be modified, create a temporary graph for the purpose of running these tests.

Example:

$ go run main.go --key=<circonus_api_key> --app=<circonus_api_key_app_name> --cid=<graph cid, full cid or just uuid portion>

Example output:

$  go run main.go --key=... --app=... --cid=...
Testing overlay - ID: Kvf1M9 Type: auto_regression -- SUCCESS
Testing overlay - ID: Tvf1M9 Type: graph_comparison -- SUCCESS
Testing overlay - ID: Vvf1M9 Type: autoreg -- SUCCESS
Testing overlay - ID: Wvf1M9 Type: linreg -- SUCCESS
Testing overlay - ID: Rvf1M9 Type: quantileagg -- SUCCESS
Testing overlay - ID: Uvf1M9 Type: expreg -- SUCCESS
Testing overlay - ID: Zvf1M9 Type: sliding_window -- SUCCESS
Testing overlay - ID: Pvf1M9 Type: quantile -- SUCCESS
Testing overlay - ID: Qvf1M9 Type: invquantile -- SUCCESS
Testing overlay - ID: Svf1M9 Type: histogram_agg -- SUCCESS
Testing overlay - ID: Yvf1M9 Type: mvalue -- SUCCESS
Testing overlay - ID: Lvf1M9 Type: linear_regression -- SUCCESS
Testing overlay - ID: Mvf1M9 Type: exponential_regression -- SUCCESS
Testing overlay - ID: Nvf1M9 Type: periodic -- SUCCESS
Testing overlay - ID: Ovf1M9 Type: anomaly_detection -- SUCCESS
Testing overlay - ID: Xvf1M9 Type: SnowthHWFetch -- SUCCESS

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc