Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

opsani/servo-kv-sfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

servo-kv-sfx

Steps

# Servo
echo "abc" > optune.token
export OPTUNE_ACCOUNT=  # account name
export OPTUNE_APP=  # app name

# Servo SignalFx driver
touch signalfx_api_key  # then put the key into the file

# Start
docker-compose up -d --build

Config.yaml

sfx:
  stream_endpoint: https://stream.us1.signalfx.com

  metrics:
    response_time:
      flow_program: |-
        query = filter('deployment', 'a')
        data('RESPONSE_TIME_METRIC_NAME', filter=query, rollup='max').mean(by='instance_id').publish()
      unit: ms

    throughput:
      flow_program: |-
        query = filter('deployment', 'a')
        data('THROUGHPUT_METRIC_NAME', filter=query, rollup='max').mean(by='instance_id').publish()
      unit: req/sec

kv:
  query_cmd: sh query.sh --abc

  adjust_cmd: sh adjust.sh --xyz

  components:
    comp1:
      settings:
        setting_a:
            type: range
            min: 1
            max: 10
            step: 1
            unit: count
        setting_b:
            type: range
            min: 1
            max: 20
            step: 1
            unit: ms
        setting_c:
            type: enum
            unit: type

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published