- MariaDB (10.1.23-MariaDB-9+deb9u1)
- Virtual server (2.5Ghz single core, 3GB RAM)
- 701,241 spans
- 3,508,959 annotations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HttpClient implements Call.Factory { | |
private final OkHttpClient ok; | |
HttpClient(final OkHttpClient ok) { | |
this.ok = ok; | |
} | |
/** | |
* Returns a CompletableCall, which supports CompletableFuture based enqueueing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build.sbt here: https://gist.github.com/frgomes/fb4ca804c21dd14e3224e4fc23d377e6 | |
//TODO: should take configurations from configuration Logger in the environment. | |
def logWrapper(service: Service[Request, Response]): Service[Request, Response] = { | |
import com.twitter.logging._ | |
import com.twitter.finagle.http.filter.{CommonLogFormatter, LoggingFilter} | |
val factory = LoggerFactory( | |
node = "", | |
level = Some(Level.TRACE), | |
handlers = List( |
curl -k -X POST -H 'Content-Type: application/json' -u $ELASTIC_USERNAME:$ELASTIC_PASSWORD https://elasticsearch-host:9200/_security/role/zipkin -d'
{
"indices": [
{
"names": [ "zipkin*" ],
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
_ "embed" | |
"fmt" | |
"log" | |
"github.com/tetratelabs/wazero" | |
"github.com/tetratelabs/wazero/imports/wasi_snapshot_preview1" |