-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #347 from tpolecat/ce3-scala-3
Scala 3 (series/0.1)
- Loading branch information
Showing
30 changed files
with
581 additions
and
39 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
function sourceUrlFix(sourceUrl) { | ||
$("#source-link").attr("href", sourceUrl.replace("target/mdoc", "src/main/paradox")) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<script type="text/javascript" src="$page.base$js/link_fix.js"></script> | ||
|
||
$if(page.source_url)$ | ||
<div class="source-github"> | ||
The source code for this page can be found <a id="source-link" href="$page.source_url$">here</a>. | ||
</div> | ||
$endif$ | ||
|
||
<script type="text/javascript">jQuery(function(){sourceUrlFix('$page.source_url$')});</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Data Dog |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Honeycomb |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Back Ends | ||
|
||
Natchez supports the following tracing back ends. If you're not sure which one you'd like to use, you might start with @ref:[Jaeger](jaeger.md), which is easy to set up with Docker. | ||
|
||
@@@ index | ||
|
||
* [DataDog](datadog.md) | ||
* [Honeycomb](honeycomb.md) | ||
* [Jaeger](jaeger.md) | ||
* [Lightstep](lightstep.md) | ||
* [Log4Cats](log4cats.md) | ||
* [Mock](mock.md) | ||
* [New Relic](newrelic.md) | ||
* [No-Op](noop.md) | ||
* [Odin](odin.md) | ||
* [OpenCensus](opencensus.md) | ||
|
||
@@@ | ||
|
||
@@toc { depth=2 } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Jaeger |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Lightstep |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Log4Cats |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Mock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# New Relic |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# No-Op |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Odin |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# OpenCensus |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Http4s |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Examples | ||
|
||
@@@ index | ||
|
||
* [Http4s](http4s.md) | ||
* [Skunk](skunk.md) | ||
|
||
@@@ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Skunk |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Natchez | ||
|
||
|
||
![](natchez.jpg) | ||
|
||
_The Natchez Trace, also known as the "Old Natchez Trace", is a historic forest trail within the United States which extends roughly 440 miles (710 km) from Nashville, Tennessee, to Natchez, Mississippi, linking the Cumberland, Tennessee, and Mississippi rivers._ | ||
|
||
_Credits: [Wikipedia](https://en.wikipedia.org/wiki/Natchez_Trace) and the [National Park Service](https://www.nps.gov/natr/index.htm)._ | ||
|
||
@@@index | ||
|
||
* [Overview](overview.md) | ||
* [Reference](reference/index.md) | ||
* [Back Ends](backends/index.md) | ||
* [Examples](examples/index.md) | ||
|
||
@@@ | ||
|
||
## Welcome! | ||
|
||
**Natchez** is a minimal distributed tracing library for Cats, inspired by earlier work done on [puretracing](https://github.com/tabdulradi/puretracing). Natchez is published for **Scala $scala-versions$**, with limited support for Scala-JS. | ||
|
||
## Quick Start | ||
|
||
1. Choose your dependency: | ||
|
||
- If you wish to write **application code** then you should use the dependency specific to your tracing @ref[back end](backends/index.md). | ||
|
||
- If you wish to write **library code** that supports any tracing back-end, then you should use the core dependency below (also available for Scala-JS). | ||
|
||
@@dependency[sbt,Maven,Gradle] { | ||
group="$org$" | ||
artifact="$core-dep$" | ||
version="$version$" | ||
} | ||
|
||
|
||
2. Read the @ref:[Overview](overview.md) and explore from there. | ||
|
||
|
||
Natchez is written for [cats](http://typelevel.org/cats/) and [cats-effect](https://typelevel.org/cats-effect/). This documentation assumes you are familiar with pure-functional programming with effects, including use of `Resource` and tagless-final coding style. If you run into trouble be sure to check out: | ||
|
||
- The Natchez channel on [Typelevel Discord](https://sca.la/typeleveldiscord). | ||
- The [API Documentation](https://javadoc.io/doc/org.tpolecat/natchez-core_$scala.binary.version$/$version$/index.html). | ||
|
||
|
||
3. Let us know how it goes! | ||
|
||
## How to Contribute | ||
|
||
- If you see a typo in the doc, click the link at the bottom and fix it! | ||
- If you find a bug please open an issue (or fix it and open a PR) at our [GitHub Repository](https://github.com/tpolecat/natchez). | ||
- If you want to make a larger contribution, please open an issue first so we can discuss. | ||
|
||
Note that there are two active version series right now: | ||
|
||
- Versions **0.0.x** are built with Cats-Effect 2 from branch `master`. This is a terminal series and will end sometime in 2021. | ||
- Versions **0.1.x** are built with Cats-Effect 3 from branch `series/0.1`. This will be the continuing series moving forward. | ||
- Contibutions should target the `master` branch. Maintainers will merge these into `series/0.1` as needed. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.