Matrix with custom Sparklines

Hello!

I want to create a Matrix Dashboard with some custom defined colums.

I have selected a class where I have some performance Monitors

All Instances should be visible with these performance Counters:

Example:

<ObjectName>HeapMemory Used</ObjectName>
<CounterName>HeapMemory Used %</CounterName>
<InstanceName>$Target/Property[Type="<MyClass>"]/InstanceName$</InstanceName>
<Value>$Data/Property[@Name=‘HeapMemoryUsageUsedPercent’]$</Value>

 

No I want to list this value in a colume in my matrix:

[
	{
		"_type": "celltile/status",
		"title": "State"
	},
	{
		"title": "HeapMemory Committed",
		"_type": "celltile/scomperf-as-sparkline",
		"config": {
			"display": {
				"height": 30,
				"width": 120,
				"labelTemplate": "{{ ( value ? Math.round(value) + 'MB' : '-' ) }}"
			},
			"source": {
				"objectname": " HeapMemory Used",
				"countername": "HeapMemory Used %",
				"Instance": "{{properties.instanceName}}"
			}
		}
	}
]

But no value is displayed

where is the error?

 

rg

hansi

I’m not entirely sure that the property in the instance field will be accepted like this, but you may just need a transform:

See this page: https://support.squaredup.com/hc/en-us/articles/360007917598-How-to-use-the-Matrix-tile (search for Transform)

Hello!

Thank you for answer.

I have found some other information. Instance should not be neccessary. But also without Instance I don’t get any data.