test(inputs.jolokia2_agent): Update integration test results (#15457)
This commit is contained in:
parent
297c64d771
commit
9463df875f
|
|
@ -709,6 +709,63 @@ func TestIntegrationArtemis(t *testing.T) {
|
|||
|
||||
// Setup the expectations
|
||||
expected := []telegraf.Metric{
|
||||
metric.New(
|
||||
"artemis",
|
||||
map[string]string{
|
||||
"jolokia_agent_url": endpoint,
|
||||
"queue": "$sys.mqtt.sessions",
|
||||
"subcomponent": "queues",
|
||||
},
|
||||
map[string]interface{}{
|
||||
"AcknowledgeAttempts": float64(0),
|
||||
"Address": "ExpiryQueue",
|
||||
"AutoDelete": false,
|
||||
"ConfigurationManaged": false,
|
||||
"ConsumerCount": float64(0),
|
||||
"ConsumersBeforeDispatch": float64(0),
|
||||
"DeadLetterAddress": "DLQ",
|
||||
"DelayBeforeDispatch": float64(0),
|
||||
"DeliveringCount": float64(0),
|
||||
"DeliveringSize": float64(0),
|
||||
"Durable": false,
|
||||
"DurableDeliveringCount": float64(0),
|
||||
"DurableDeliveringSize": float64(0),
|
||||
"DurableMessageCount": float64(0),
|
||||
"DurablePersistentSize": float64(0),
|
||||
"DurableScheduledCount": float64(0),
|
||||
"DurableScheduledSize": float64(0),
|
||||
"Enabled": true,
|
||||
"Exclusive": true,
|
||||
"ExpiryAddress": "ExpiryQueue",
|
||||
"FirstMessageAsJSON": "[{}]",
|
||||
"GroupBuckets": float64(0),
|
||||
"GroupCount": float64(0),
|
||||
"GroupRebalance": false,
|
||||
"GroupRebalancePauseDispatch": false,
|
||||
"ID": float64(0),
|
||||
"InternalQueue": false,
|
||||
"LastValue": false,
|
||||
"LastValueKey": "",
|
||||
"MaxConsumers": float64(0),
|
||||
"MessageCount": float64(0),
|
||||
"MessagesAcknowledged": float64(0),
|
||||
"MessagesAdded": float64(0),
|
||||
"MessagesExpired": float64(0),
|
||||
"MessagesKilled": float64(0),
|
||||
"Name": "ExpiryQueue",
|
||||
"Paused": false,
|
||||
"PersistentSize": float64(0),
|
||||
"PreparedTransactionMessageCount": float64(0),
|
||||
"PurgeOnNoConsumers": false,
|
||||
"RetroactiveResource": false,
|
||||
"RingSize": float64(0),
|
||||
"RoutingType": "ANYCAST",
|
||||
"ScheduledCount": float64(0),
|
||||
"ScheduledSize": float64(0),
|
||||
"Temporary": false,
|
||||
},
|
||||
time.Unix(0, 0),
|
||||
),
|
||||
metric.New(
|
||||
"artemis",
|
||||
map[string]string{
|
||||
|
|
@ -743,6 +800,7 @@ func TestIntegrationArtemis(t *testing.T) {
|
|||
"GroupRebalance": false,
|
||||
"GroupRebalancePauseDispatch": false,
|
||||
"ID": float64(0),
|
||||
"InternalQueue": false,
|
||||
"LastValue": false,
|
||||
"MaxConsumers": float64(0),
|
||||
"MessageCount": float64(0),
|
||||
|
|
@ -798,6 +856,7 @@ func TestIntegrationArtemis(t *testing.T) {
|
|||
"GroupRebalance": false,
|
||||
"GroupRebalancePauseDispatch": false,
|
||||
"ID": float64(0),
|
||||
"InternalQueue": false,
|
||||
"LastValue": false,
|
||||
"MaxConsumers": float64(0),
|
||||
"MessageCount": float64(0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue