This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 295
Global Config Spec #386
Comments
@jcooklin Do you know when this will be implemented ? For one of my plugins I need to pass list with hypervisor URIs. Right now I have my own code but I will be happy to use global configuration module. |
I don't think switch elements for pulsed should mix into globals. instead:
|
what about
|
I like but why "global"? |
Config is config for the pulsed |
Or at least put under roles for each role config:
|
word, agreed. +1 on:
|
@sandlbn I'm working on it this sprint. |
@lynxbat, @danielscottt: I updated ~/pulsed.cfg above based on the feedback. Additional thoughts? |
Reopening this, the ability to configure the daemon is not yet implemented. |
geauxvirtual
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 11, 2016
…port for YAML config files
geauxvirtual
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 11, 2016
…port for YAML config files
geauxvirtual
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 12, 2016
…port for YAML config files
geauxvirtual
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 15, 2016
…port for YAML config files
tjmcs
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 16, 2016
…port for YAML config files
tjmcs
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 16, 2016
…port for YAML config files
tjmcs
pushed a commit
to tjmcs/snap
that referenced
this issue
Mar 16, 2016
…port for YAML config files
Closing with the merge of #763. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Global Config
This spec describes adding global configuration to pulse. We will describe two types of config below. The first is the top level configuration and will be referred to as Global Config while the second is specific to providing plugin configuration at load time and will be referred to going forward as Global Plugin Config. The pulse agent can be provided these configurations through a switch and configuration file at startup or through the API (pulsectl) after starting.
Example usage
~/pulsed.cfg
API/client usage
Global Config provides runtime configuration and the ability to define a variable once and reference it in multiple plugins.
A ConfigPolicy derived from the Global Config (and Global Plugin Config) will be passed to the method GetMetricTypes. The Publish, Collect or Process methods will continue to receive ConfigPolicy but it will now be a merge between the tasks configuration and the Global Configuration.
The text was updated successfully, but these errors were encountered: