Skip to content

Commit

Permalink
Merge pull request #207 from nats-io/stats_metadata
Browse files Browse the repository at this point in the history
add metadata to stats api call also for micro api
  • Loading branch information
ripienaar authored Mar 15, 2023
2 parents 1735930 + 174679b commit 18f68ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions adr/ADR-32.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ Returns a JSON having the following structure:
* Description for the service
*/
description: string,
/**
* Version of the service
*/
version: string,
/**
* An array of all endpoint subjects
*/
Expand All @@ -160,6 +156,7 @@ Returns the following schema (the standard response fields)
name: string,
id: string,
version: string,
metadata: Record<string,string>;
}
```

Expand Down Expand Up @@ -249,6 +246,10 @@ The type for this is `io.nats.micro.v1.schema_response`.
* The subject on which the endpoint is registered
*/
subject: string;
/**
* Endpoint specific metadata
*/
metadata: Record<string,string>;
/**
* The number of requests received by the endpoint
*/
Expand Down

0 comments on commit 18f68ed

Please sign in to comment.