Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create tag property / field on Event #270

Closed
jpwhitemn opened this issue Aug 20, 2020 · 3 comments · Fixed by #271
Closed

Create tag property / field on Event #270

jpwhitemn opened this issue Aug 20, 2020 · 3 comments · Fixed by #271
Assignees
Labels
2-medium priority denoting issues with cross-cutting project impact enhancement New feature or request hanoi Hanoi release

Comments

@jpwhitemn
Copy link
Member

Per the architect's meeting of July 20th and Core WG meeting of 8/20/20, it was decided that EdgeX should provide the means to attribute all event/readings to a gateway, host platform or originating EdgeX instance. Therefore, each Event object should have a "tags" field (and array of strings) that allow for the platform to place identifying information into the tags field that help attribute the event/reading(s) to the host.

How and when the EdgeX instance places platform identifying information in "tags" is still being worked out. For the initial implementation, the application services will offer an optional enrichment function that will use configuration data to populate the tags field of the event before is exported out of EdgeX.

See these documents for more details:

@jpwhitemn jpwhitemn added 2-medium priority denoting issues with cross-cutting project impact enhancement New feature or request hanoi Hanoi release labels Aug 20, 2020
@lenny-goodell
Copy link
Member

Is a single tag a simple string like xyz-1002 or a key/value pair like gateway-id:xyz-1002

@lenny-goodell
Copy link
Member

Also, if this is for Hanoi, then it applies to both V1 models and V2 DTOs/models, correct?

@jpwhitemn
Copy link
Member Author

jpwhitemn commented Aug 20, 2020

Yes on V1 and V2 question.
Per the last architect's meeting, we said that the tags property "Should be array of k/v (Maps) or JSON object"

lenny-goodell referenced this issue in lenny-goodell/go-mod-core-contracts Aug 21, 2020
@lenny-goodell lenny-goodell linked a pull request Aug 21, 2020 that will close this issue
13 tasks
lenny-goodell referenced this issue in lenny-goodell/go-mod-core-contracts Aug 31, 2020
lenny-goodell referenced this issue in lenny-goodell/go-mod-core-contracts Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-medium priority denoting issues with cross-cutting project impact enhancement New feature or request hanoi Hanoi release
Projects
None yet
3 participants