"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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인