Skip to content

Instantly share code, notes, and snippets.

View nitishakalwadi's full-sized avatar

Nitishkumar Akalwadi nitishakalwadi

  • Bangalore, India
View GitHub Profile
@nitishakalwadi
nitishakalwadi / hikari-pool.txt
Created June 17, 2020 07:22
Spring Boot Hikari New Relic
1. Enable hikari mbean registry in application.properties
spring.datasource.hikari.register-mbeans=true
2. Add the new relic custom instrumentation yml file in the extensions directory where new relic agent is present
name: hikari-db
version: 1.0
enabled: true
jmx:
- object_name: com.zaxxer.hikari:type=Pool (SpringBootJPAHikariCP)
@nitishakalwadi
nitishakalwadi / gist:a4565f813145bba467cca7deeaebdb6d
Created March 6, 2018 11:25
Getting tymondesigns/jwt-auth to work
https://github.com/tymondesigns/jwt-auth
Add library to composer.json:
"require": {
...
"tymon/jwt-auth": "1.0.0-beta.3"
...
},
Run this command in console:
@nitishakalwadi
nitishakalwadi / API.md
Created October 17, 2017 10:15 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: