FastForward OpenCensus Exporter

Export OpenCensus metrics to ffwd.

License

License

GroupId

GroupId

com.spotify.ffwd
ArtifactId

ArtifactId

opencensus-exporter
Last Version

Last Version

0.2.4
Release Date

Release Date

Type

Type

jar
Description

Description

FastForward OpenCensus Exporter
Export OpenCensus metrics to ffwd.

Download opencensus-exporter

How to add to project

<!-- https://jarcasting.com/artifacts/com.spotify.ffwd/opencensus-exporter/ -->
<dependency>
    <groupId>com.spotify.ffwd</groupId>
    <artifactId>opencensus-exporter</artifactId>
    <version>0.2.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.spotify.ffwd/opencensus-exporter/
implementation 'com.spotify.ffwd:opencensus-exporter:0.2.4'
// https://jarcasting.com/artifacts/com.spotify.ffwd/opencensus-exporter/
implementation ("com.spotify.ffwd:opencensus-exporter:0.2.4")
'com.spotify.ffwd:opencensus-exporter:jar:0.2.4'
<dependency org="com.spotify.ffwd" name="opencensus-exporter" rev="0.2.4">
  <artifact name="opencensus-exporter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.spotify.ffwd', module='opencensus-exporter', version='0.2.4')
)
libraryDependencies += "com.spotify.ffwd" % "opencensus-exporter" % "0.2.4"
[com.spotify.ffwd/opencensus-exporter "0.2.4"]

Dependencies

compile (4)

Group / Artifact Type Version
com.spotify.ffwd : ffwd-client jar 0.2.4
io.opencensus : opencensus-api jar 0.24.0
io.opencensus : opencensus-exporter-metrics-util jar 0.24.0
org.slf4j : slf4j-api jar 1.7.28

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.5.2
org.junit.jupiter : junit-jupiter-engine jar 5.5.2
org.mockito : mockito-junit-jupiter jar 3.4.3

Project Modules

There are no modules declared in this project.

A java client to FastForward

CircleCI

A java client for the native protobuf protocol of ffwd.

Usage

<dependency>
    <groupId>com.spotify.ffwd</groupId>
    <artifactId>ffwd-client</artifactId>
    <version>LATEST-VERSION</version>
</dependency>
public class Foo {
    private static final FastForward ffwd = FastForward.setup();
    private static final Metric metric = FastForward.metric("foo.metric").attribute("class", Foo.class.getCanonicalName());

    public void run() throws IOException {
        ffwd.send(metric.value(42));
    }
}

OpenCensus Exporter

All registered OpenCensus Stats views will be exported to FFWD.

At this time histograms/distributions are not supported in Heroic until #476 is resolved.

<dependency>
    <groupId>com.spotify.ffwd</groupId>
    <artifactId>opencensus-exporter</artifactId>
    <version>LATEST-VERSION</version>
</dependency>
com.spotify.ffwd.FfwdStatsExporter.createAndRegister(
   com.spotify.ffwd.FfwdStatsConfiguration.builder().setExporterIntervalSeconds(30).build()
);

Contributing

  1. Fork ffwd-java-client from GitHub and clone your fork.
  2. Hack.
  3. Push the branch back to GitHub.
  4. Send a pull request to our upstream repo.

Releasing

Releasing is done via the maven-release-plugin and nexus-staging-plugin which are configured via the release profile. Deploys are staged in oss.sonatype.org before being deployed to Maven Central. Check out the maven-release-plugin docs and the nexus-staging-plugin docs for more information.

To release, first run:

mvn -P release release:prepare

You will be prompted for the release version and the next development version. On success, follow with:

mvn -P release release:perform

com.spotify.ffwd

Spotify

Versions

Version
0.2.4
0.2.3
0.2.2
0.2.1