Skip to content

Commit

Permalink
Add Jaeger snippet
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information
fbricon authored and angelozerr committed Sep 25, 2019
1 parent 1414645 commit f7f4d9f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -38,6 +38,7 @@ This extension provides several code snippets, available when editing Java files
When editing `application.properties` files, you have access to:

* **qds** - Configure a Quarkus datasource
* **qj** - Configure a Jaeger tracer


## Requirements
Expand Down
14 changes: 12 additions & 2 deletions snippets/properties.json
Expand Up @@ -8,6 +8,16 @@
"quarkus.datasource.password=${4:developer}",
"quarkus.hibernate-orm.database.generation=${5|update,drop-and-create,create,drop,none|}"
],
"description": "Configure Quarkus datasource"
}
"description": "Configure Quarkus datasource"
},
"Add Jaeger properties": {
"prefix": "qj",
"body": [
"quarkus.jaeger.service-name=${1:myservice}",
"quarkus.jaeger.sampler-type=${2:const}",
"quarkus.jaeger.sampler-param=${3:1}",
"quarkus.jaeger.endpoint=${4:http://localhost:14268/api/traces}"
],
"description": "Configure Jaeger tracer"
}
}

0 comments on commit f7f4d9f

Please sign in to comment.