Developer #5134
closedTechnical Discovery for Producing Statistics for Spirit Fusion
0%
Description
As SpiritFusion software begins to inetgarte with APIs that request medical data, we need a mechanism to produce statistics so that our customer(s) can see the usage of their SCR.
Quarkus offers multiple AWS extensions, one of which can facilitate reading and writing to AWS Opensearch.
This extension will allow us to connect to an index and send stats using an HTTP client. We will be able to use Jakarta Inteceptors and Events to send the payloads asynchronously, similar to how we audit.
The payload will have to be agreed upon, but it should contain values such as;
- service name
- type of request
- user performing the request
- time taken
- success/fail
Updated by Matthew Thomas 26 days ago
- Status changed from New to Closed
This project https://github.com/tiani-uk/spirit-core-statistics handles the creation of the statistics and also has a transport client to send the stats to a designated location.
This project https://github.com/tiani-uk/spirit-sqs-stats-processor is an AWs Lambda kicked by an the AWS SQS. It will then process stats to the designated endpoint, in this case Opensearch.