Skip to content

Commit

Permalink
[FEAT] support multiple endpoints
Browse files Browse the repository at this point in the history
[FEAT] [SRV] addGroup() to group endpoints under a subject token
[CHANGE] [SRV] endpoint is now optional
[CHANGE] [SRV] service info now reports multiple subjects - one per endpoint, so `subject` change to `subjects` and is an array.
[CHANGE] [SRV] stats now have `endpoints` which is an array of endpoint stats.
[CHANGE] [SRV] ServiceStats no longer contain metric information at the root level, they are nested under endpoints as the service can now have one or more endpoints.

[CHANGE] addGroup can have contain subject tokens, but addEndpoint(name) must be a simple string - name can be {name: string, subject: string} to allow the service have a simple name but specify a complex subject
  • Loading branch information
aricart committed Jan 6, 2023
1 parent 03accc4 commit db7b602
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 277 deletions.
Loading

0 comments on commit db7b602

Please sign in to comment.