Description
quantities and metric relation
Taken from the docs..
"They are specified as Quantities, so you can use m | "" | k | M | G | T | P | E to easily represent the value you want to use."
The above sentence quotes that highWatermark and lowWatermark values can or must? be extended by quantity.
I assume its dependent on the type of metric.
What type of quantity is "" ?
What about percent values like i think it shall be able to use all kind of metrics which have a defined max and a min value like e.g kubernetes.memory.usage_pct or kubernetes.cpu.usage_pct. Do i need to set only the value 90 or 90% ?
If i don't add a quantity but just the number, will it take a default (which) or will it fail?
case sensitiveness
There are different metrics i can use . eg.
- https://docs.datadoghq.com/agent/kubernetes/data_collected/
- https://docs.datadoghq.com/agent/docker/?tab=standard
The docker Metrics e.g "Memory" have upper case. Is there generally any case sensitiveness ?
metric context/selection
Taking above two metric sources - system/docker and kubernetes - i could use
similar metrics from both e.g system.mem.used vs kubernetes.memory.usage
If i deploy a resource wpa
metricSelector:
matchLabels:
app: {{ .Chart.Name }}
release: {{ .Release.Name }}
will the both metric measurements be scoped to the container level per pod or do they have different scopes and which?
Which of these might be the better choice to control the scale