SNA Library (snalib)
Sahamati provides sna libraries to reduce the integration effort with SNA. The snalib-dist directory in the GitHub repository can be used by your AA service to push the api transaction details to the SNA agent. Libraries for Node, Go, dotnet and Java are available, along with example source code and a Java JAR.
Steps to Integrate
Pull the latest main branch from the repository:
https://github.com/Sahamati/sahamatinet-agent-downloadables
Find the snalib source code, example source, and Java JAR under the following path in the repository: sahamatinet-agent-downloadables/snalib-dist
Use the library for your AA service stack:
Node:
snalib-dist/node/Go:
snalib-dist/go/Dotnet:
snalib-dist/dotnet/Java:
snalib-dist/java/(source and JAR)
Refer to the example source code in the repository to see how to call
sna.dispatch()at each integration point.
📌 SNA is designed to be non-blocking. Metric data is sent asynchronously to the SNA agent to avoid adding latency to your AA service's API response times.
Last updated
Was this helpful?