"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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ