Skip to content

Instantly share code, notes, and snippets.

@aakashbapna
aakashbapna / ScalyrBundle.java
Created July 6, 2016 18:22
Scalyr dropwizard integration
public abstract class ScalyrBundle<T extends Configuration> implements ConfiguredBundle<T> {
@Override
public void initialize(final Bootstrap<?> bootstrap) {
}
public abstract ScalyrConfiguration getConfiguration(T configuration);
@Override
public void run(T t, Environment environment) throws Exception {
<!DOCTYPE html>
<html>
<head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>