"componentName" is empty value in resposne of IoT TwinMaker and Grafana integration

0

Hello!

I'm trying to use IoT TwinMaker and grafana following user guide. I was organized component type, entity and entity-component and I use lambda function. I think my lambda function is normal.

But "componentName" is empty value in grafana response.

[Component Type]

I was register "com.example.timestream-telemetry" and "com.example.cookiefactory.alarm". with my lambda function.

[Entity]

I add "Mixer_2" and "AlarmComponent" Enter image description here

[Grafana]

I entered it according to the settings below. Enter image description here

[My lambda response]

{
    "propertyValues": [
        {
            "entityPropertyReference": {
                "entityId": "Mixer_2_06ac63c4-d68d-4723-891a-8e758f8456ef",
                "componentName": "AlarmComponent",
                "propertyName": "alarm_status"
            },
            "values": [
                {
                    "time": "2022-09-28T11:25:00Z",
                    "value": {
                        "stringValue": "ACTIVE"
                    }
                }
            ]
        }
    ]
}

[Grafana]

"componentName" is empty value in my grafana response.

Enter image description here

What the wrong?

How can I solve this problem?

1 回答
0

Could you please confirm if you still this issue or were you able to figure out the problem? Based on the response from your lambda function, it should be working fine.

profile pictureAWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则