Skip to content

cite-sa/accounting-service

Repository files navigation

Accounting Service

The Accounting service provides an aggregation functionality through which various services can centrally log accounting information as it is gradually accumulated by their usage from the respective authorized clients. Different accumulation policies and granularity of information is supported depending on the respective services. The information consists of globally defined key point indicators and the aggregation and reports generated based on these becomes available for further usage, as appropriate.

Accounting Model

timestamp DateTime (ISO 8601) Mandatory Date of the entry

starttime DateTime (ISO 8601) Date of the operation starts

endtime DateTime (ISO 8601) Date of the operation ends

serviceid Text Mandatory Global unique identifier for the service that the log entry refers to. It may be generated by the probe rather than be harvested from the logs.

level ENUM Mandatory Value should be "accounting"

resource Text Mandatory The resource handled by the call.

action Text Mandatory The action identifier in internal semantics.

userid Text Mandatory An identifier for the user on whos purpose the work is performed

userdelegate Text An identifier for the user who is the delegate to perform the work

value Double The measure value if omitted 1

measure Text The measure currently available messures time(ms), information(mb), throughput(mb/sec), unit, others to be considered, optional if omitted unit

type ENUM The measure type available types + - 0, optional if omitted +

comment Text A comment of accounting

License

Licensed under the EUPL-1.2-or-later