Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have configured memory usage in pipeline.yaml sources: [...] - name: memory_source interval: 600 meters: - "memory.usage" sinks: - memory_sink sinks: [...] - name: memory_sink transformers: - name: "arithmetic" parameters: target: name: "memory_usage" unit: "%" type: "gauge" expr: "100 * $(memory.usage) / ($(memory.usage).resource_metadata.memory_mb)"

However I am unable to get disk.device.usage

I have configured memory usage in pipeline.yaml sources: sources:

[...]
- name: memory_source
      interval: 600
      meters:
          - "memory.usage"
      sinks:
          - memory_sink
sinks:
[...]
- name: memory_sink
      transformers:
          - name: "arithmetic"
            parameters:
                target:
                    name: "memory_usage"
                    unit: "%"
                    type: "gauge"
                    expr: "100 * $(memory.usage) / ($(memory.usage).resource_metadata.memory_mb)"

($(memory.usage).resource_metadata.memory_mb)"

However I am unable to get disk.device.usage