Skip to content

Latest commit

 

History

History
 
 

kayenta-signalfx

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Kayenta SignalFx

This module adds support to Kayenta to use SignalFx as a metric source.

Configuration

Kayenta

  signalfx:
    enabled: true
    accounts:
    - name: sfx-integration-test-account
      accessToken: ${kayenta.signalfx.apiKey} # The sfx api token
      endpoint.baseUrl: https://stream.signalfx.com # Optional defaults to https://stream.signalfx.com
      defaultScopeKey: server_scope # Optional, if omitted every request must supply the _scope_key param in extended scope params
      defaultLocationKey: server_region # Optional, if omitted requests must supply the _location_key if it is needed.
      supportedTypes:
      - METRICS_STORE

Canary Config

See canary-config and the SignalFx metric query config page.

Development

Integration Tests

This module has an End to End test that starts Kayenta with an in-memory config store and embedded Redis. It spawns threads that act like mock services that report metrics to SignalFx, there are three mock clusters.

  • Control - the control cluster
  • Healthy Experiment - a healthy experiment
  • Unhealthy Experiment - a unhealthy experiment

The data flowing through SignalFx from these clusters can then be used for end to end testing.

Running the end to end integration tests. Requires that you have a local redis-server installation compatible with Kayenta.

./gradlew kayenta-signalfx:integrationTest -Dkayenta.signalfx.apiKey=${SIGNALFX_API_TOKEN} -Dredis.path=$(which redis-server)