Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelgss/open-apm-ts-decorator
Typescript Decorator for Open APM
https://github.com/rafaelgss/open-apm-ts-decorator
Last synced: 12 days ago
JSON representation
Typescript Decorator for Open APM
- Host: GitHub
- URL: https://github.com/rafaelgss/open-apm-ts-decorator
- Owner: RafaelGSS
- License: mit
- Created: 2020-11-02T15:17:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-09T21:40:48.000Z (about 4 years ago)
- Last Synced: 2024-10-19T09:32:34.507Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 175 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open APM Typescript Decorator
TS Wrapper to Open APM
## Install
```sh
yarn add open-apm-ts-decorator
```or with NPM
```sh
npm install -S open-apm-ts-decorator
```## Usage
```java
class MyTestClass {
// All of these arguments are optional
@XRayInstrumented({
name: "customFunctionName", // by default it's name of called function
isAsync: true // Add if your function returns a promise
})
someAsyncMethod(input: number): Promise {
...
}
}
```## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/RafaelGSS/open-apm-ts-decorator/issues).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
This project is [MIT](https://github.com/RafaelGSS/open-apm-ts-decorator/blob/master/LICENSE) licensed.