Learn how to get started with Treblle using our Java SDK in less than 2 minutes on any new or existing API
<dependencies> <dependency> <groupId>com.treblle</groupId> <artifactId>treblle-spring-boot-starter</artifactId> <version>1.0.0</version> </dependency></dependencies>
You can ⭐ our Github repo to stay up to date with new updates
treblle.apiKey=<YOUR_API_KEY>treblle.projectId=<YOUR_PROJECT_ID>
HEADS UP: You need to create an account to get your API KEY and PROJECT ID
@EnableTreblle @SpringBootApplicationpublic class MyApplication { // YOUR APPLICATION...}
Add the treblle middleware on your API route group
You and your team just got these amazing features:
// Add the following configuration propertytreblle.urlPatterns=/users,/login,/cards/store
Define only the URL patterns you want Treblle to monitor
// Add the following configuration propertytreblle.maskingKeywords=secret,private,user_ssn
PRO TIP: Data is masked before it even leaves your server