You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-15Lines changed: 27 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,23 +7,33 @@ without further processing.
7
7
This project uses [Quarkus](https://quarkus.io), the Supersonic Subatomic Java Framework and comprises 3 modules:
8
8
9
9
-`analysis`, which contains utilities helpful to analyze power measures (computations, statistics, histograms, etc…)
10
-
-`if-manifest-export`, which provides a means to export a stopped measure as a [Green Software Foundation](https://greensoftware.foundation/)[Impact Framework](https://if.greensoftware.foundation/) manifest
10
+
-`if-manifest-export`, which provides a means to export a stopped measure as
11
+
a [Green Software Foundation](https://greensoftware.foundation/)[Impact Framework](https://if.greensoftware.foundation/)
12
+
manifest
11
13
-`measure`, which provides classes to help record and process measures in client applications
12
14
-`metadata`, which contains the metadata API that the RESTful server uses to provide information about what is returned
13
15
by the power sensors. This artifact contains classes that can be reused in client projects.
14
16
-`server` contains the RESTful server, listening by default on port `20432` (as specified
15
-
in `[application.properties](https://github.com/metacosm/power-server/blob/87bba3196fa0e552665b4f1d22006377779b0959/server/src/main/resources/application.properties#L1)`)
16
-
17
-
The server provides two endpoints: `/power/metadata` and `/power/{pid}` where `pid` is a String representation of a
18
-
process identifier, identifying a process running on the machine where `power-server` is running.
19
-
The metadata endpoint provides information about how measures streamed from the main endpoint is formatted as well as
20
-
information about power components. The main endpoint streams `SensorMeasure` objects as defined in the `metadata`
21
-
module as an array of double measures. Typically, main sensor components are measured in milli Watts for easier
22
-
consumption but clients should check the information provided by the metadata endpoint to learn the layout of the
23
-
measures array and which meaning they carry. For example, the macOS implementation provides a decimal percentage measure
24
-
of the CPU share of the measured process as part of the returned measure. This information doesn't exist on the Linux
25
-
information where the measures are actually energy counters for the whole system, the client being then in charge of
0 commit comments