Skip to content

Commit 5dc8865

Browse files
CopilotTimHess
andcommitted
Add RuntimeInfoContributor documentation to Info actuator endpoint
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
1 parent 8a566b3 commit 5dc8865

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/docs/v4/management/info.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,20 @@ This contributor exposes information from the `git.properties` Spring Boot file,
7474
> [!TIP]
7575
> For an example of how to use this contributor within MSBuild using [GitInfo](https://github.com/devlooped/GitInfo), see the [Steeltoe Management sample](https://github.com/SteeltoeOSS/Samples/tree/4.x/Management/src).
7676
77+
### Runtime info
78+
79+
This contributor, added in Steeltoe 4.1.0, exposes information about the environment in which the application is running. It includes:
80+
81+
| Property | Description |
82+
| --- | --- |
83+
| `runtimeName` | The name and version of the .NET runtime (for example, ".NET 10.0.0") |
84+
| `runtimeVersion` | The version of the common language runtime |
85+
| `runtimeIdentifier` | The runtime identifier (RID) of the platform (for example, "linux-x64", "win-x64") |
86+
| `processArchitecture` | The process architecture (for example, "X64", "Arm64") |
87+
| `osArchitecture` | The operating system architecture |
88+
| `osDescription` | A description of the operating system |
89+
| `osVersion` | The operating system version |
90+
7791
## Sample Output
7892

7993
The response is always returned as JSON:
@@ -119,6 +133,15 @@ The response is always returned as JSON:
119133
},
120134
"build": {
121135
"version": "1.0.0.0"
136+
},
137+
"runtime": {
138+
"runtimeName": ".NET 10.0.0",
139+
"runtimeVersion": "10.0.0",
140+
"runtimeIdentifier": "linux-x64",
141+
"processArchitecture": "X64",
142+
"osArchitecture": "X64",
143+
"osDescription": "Ubuntu 22.04.3 LTS",
144+
"osVersion": "Unix 5.15.0.88"
122145
}
123146
}
124147
```

0 commit comments

Comments
 (0)