Permalink
Browse files

update comment / doc / gitignore

  • Loading branch information...
fstab committed Jul 10, 2017
1 parent 8a6655e commit e136b5c7828148f55832afc9837d48d4a3cf1f77
Showing with 6 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +1 −1 README.md
  3. +2 −0 promagent-internal/src/main/java/io/promagent/internal/Promagent.java
@@ -2,3 +2,6 @@
dependency-reduced-pom.xml
target/
**/*.iml
**/.classpath
**/.project
**/.settings
@@ -1,7 +1,7 @@
Promagent
=========
_Instrumenting Java Web Applications without Modifying their Source Code._
_Prometheus Monitoring for Java Web Applications without Modifying their Source Code._
Promagent is a Java agent providing [Prometheus](https://prometheus.io/) metrics for Java Web applications without modifying the application's source code.
Promagent uses the [Byte Buddy](http://bytebuddy.net/) bytecode manipulation library to insert Prometheus metrics during application startup.
@@ -80,6 +80,8 @@ private static AgentBuilder applyHooks(AgentBuilder agentBuilder, HookConfig hoo
for (HookConfig.ClassOrInterfaceConfig instruments : hookConfig.getInstrumentedClassesOrInterfaces()) {
ElementMatcher.Junction<MethodDescription> methodMatcher = ElementMatchers.none();
for (HookConfig.MethodConfig method : instruments.getInstrumentedMethods()) {
// If you are using Eclipse or Visual Studio Code and see a syntax error here, it could be this one:
// https://github.com/eclipse/eclipse.jdt.ls/issues/291
ElementMatcher.Junction<MethodDescription> junction = ElementMatchers
.named(method.getMethodName())
.and(not(isAbstract()))

0 comments on commit e136b5c

Please sign in to comment.