-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TRACING-3799: Documentation for the Tempo monolithic CRD #72786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
andreasgerstmayr
wants to merge
3
commits into
openshift:main
from
andreasgerstmayr:distributed-tracing-monolithic-deployment
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
24 changes: 24 additions & 0 deletions
24
modules/distr-tracing-tempo-configuring-tempomonolithic-jaegerui.adoc
This file contains hidden or 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,24 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * distr-tracing-tempo-configuring.adoc | ||
|
||
:_mod-docs-content-type: REFERENCE | ||
[id="configuring-tempomonolithic-jaegerui_{context}"] | ||
= Configuring Jaeger UI | ||
|
||
The following manifests enables the Jaeger UI. | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoMonolithic | ||
metadata: | ||
name: sample | ||
spec: | ||
jaegerui: | ||
enabled: true # <1> | ||
route: | ||
enabled: true # <2> | ||
---- | ||
<1> Enables Jaeger UI. | ||
<2> Enables creation of a Route for the Jaeger UI. |
30 changes: 30 additions & 0 deletions
30
modules/distr-tracing-tempo-configuring-tempomonolithic-quickstart.adoc
This file contains hidden or 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,30 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * distr-tracing-tempo-configuring.adoc | ||
|
||
:_mod-docs-content-type: REFERENCE | ||
[id="configuring-tempomonolithic-quickstart_{context}"] | ||
= Quickstart | ||
|
||
The following manifest creates a Tempo monolithic deployment with trace ingestion over OTLP/gRPC and OTLP/HTTP, storing traces in a 2 GiB tmpfs volume (in-memory storage) and exposing Jaeger UI via a Route. | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoMonolithic | ||
metadata: | ||
name: sample | ||
spec: | ||
storage: | ||
traces: | ||
backend: memory | ||
jaegerui: | ||
enabled: true | ||
route: | ||
enabled: true | ||
---- | ||
|
||
Once the pod is ready, you can send traces to `tempo-sample:4317` (OTLP/gRPC) and `tempo-sample:4318` (OTLP/HTTP) inside the cluster. | ||
The Tempo API is available at `tempo-sample:3200` inside the cluster. | ||
|
||
Jaeger UI is available at the location of the `tempo-sample-jaegerui` Route (Navigate to the *Console* -> *Networking* -> *Routes*). |
68 changes: 68 additions & 0 deletions
68
modules/distr-tracing-tempo-configuring-tempomonolithic-storage.adoc
This file contains hidden or 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,68 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * distr-tracing-tempo-configuring.adoc | ||
|
||
:_mod-docs-content-type: REFERENCE | ||
[id="configuring-tempomonolithic-storage_{context}"] | ||
= Configuring Storage | ||
|
||
.In-Memory Storage | ||
|
||
The following Tempo deployment stores traces in a `tmpfs` (in-memory storage). | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoMonolithic | ||
metadata: | ||
name: sample | ||
spec: | ||
storage: | ||
traces: | ||
backend: memory | ||
size: 2Gi # <1> | ||
---- | ||
<1> Size of the tmpfs volume. Default: `2Gi`. | ||
|
||
.Persistent Volume | ||
|
||
The following Tempo deployment stores traces in a Persistent Volume. | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoMonolithic | ||
metadata: | ||
name: sample | ||
spec: | ||
storage: | ||
traces: | ||
backend: pv | ||
size: 10Gi # <1> | ||
---- | ||
<1> Size of the Persistent Volume Claim. Default: `10Gi`. | ||
|
||
|
||
.Object Storage | ||
|
||
The following Tempo deployment stores traces in a an object storage. | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoMonolithic | ||
metadata: | ||
name: sample | ||
spec: | ||
storage: | ||
traces: | ||
backend: s3 # <1> | ||
size: 10Gi # <2> | ||
s3: # <1> | ||
secret: <secret-name> # <3> | ||
---- | ||
<1> Object storage type. Supported object stores: `s3`, `gcs`, `azure`. | ||
<2> Size of the Persistent Volume Claim for the Tempo WAL. Default: `10Gi`. | ||
<3> Name of the storage secret. | ||
|
||
The storage secret must be in the same namespace as the `TempoMonolithic` instance and contain the fields as specified in the <<required_secret_parameters_{context}>> table. |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] RedHat.TermsErrors: Use 'quick start' rather than 'Quickstart'. For more information, see RedHat.TermsErrors.