com.iopipe.plugin.trace.TracePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iopipe Show documentation
Show all versions of iopipe Show documentation
This project provides analytics and distributed tracing for event-driven
applications running on AWS Lambda using the IOpipe service.
The newest version!
package com.iopipe.plugin.trace;
import com.iopipe.IOpipeConstants;
import com.iopipe.IOpipeExecution;
import com.iopipe.plugin.IOpipePlugin;
import com.iopipe.plugin.IOpipePluginExecution;
/**
* This is the trace plugin which is used to track specific marks and measure
* performance.
*
* @since 2018/01/20
*/
public class TracePlugin
implements IOpipePlugin
{
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public boolean enabledByDefault()
{
return true;
}
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public IOpipePluginExecution execute(IOpipeExecution __e)
{
if (__e == null)
throw new NullPointerException();
return new TraceExecution();
}
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public Class extends IOpipePluginExecution> executionClass()
{
return TraceExecution.class;
}
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public String homepage()
{
return "https://github.com/iopipe/iopipe-java";
}
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public String name()
{
return "trace";
}
/**
* {@inheritDoc}
* @since 2018/01/20
*/
@Override
public String version()
{
return "1.8.0";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy