Skip to content

Redis DB - please help to clear my understanding ! #291

Closed Answered by cloudxxx8
M0hanrajp asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, they are all read from the database

The APIs of count are:
/event/count/device/name/{name}
/reading/count/device/name/{name}

In your example, GET /api/v3/reading/count/device/name/Random-Integer-Device/Int32, which means the deviceName is Random-Integer-Device/Int32, but there is no device name called Random-Integer-Device/Int32
Please try GET /api/v3/reading/count/device/name/Random-Integer-Device

https://docs.edgexfoundry.org/3.1/microservices/core/data/ApiReference/

We don't have an API to count both device name plus source name as the condition

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@M0hanrajp
Comment options

Comment options

You must be logged in to vote
1 reply
@cloudxxx8
Comment options

Comment options

You must be logged in to vote
1 reply
@cloudxxx8
Comment options

Answer selected by M0hanrajp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants