Skip to content

Commit 142805e

Browse files
authored
Fixes to tokens and traces (#200)
1 parent d3c8940 commit 142805e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

query-data/traces.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ In Axiom, trace events are just like any other events inside datasets. This mean
8181

8282
To see how spans in a trace are related to each other, explore the trace in a waterfall view. In this view, each span in the trace is correlated with its parent and child spans.
8383

84+
### Traces in OpenTelemetry Traces dashboard
85+
8486
To explore spans within a trace using the OpenTelemetry Traces app, follow these steps:
8587

8688
1. Click the `Dashboards` tab.
@@ -97,6 +99,8 @@ To try out this example, go to the Axiom Playground.
9799

98100
[Run in Playground](https://play.axiom.co/axiom-play-qf1k/dashboards/otel.traces.otel-demo-traces)
99101

102+
### Traces in Query tab
103+
100104
To access the waterfall view from the Query tab, follow these steps:
101105

102106
1. Ensure the dataset you work with has trace data.

reference/tokens.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ This reference article explains how you can authenticate your requests to the Ax
1313
You can use the Axiom API and CLI to programmatically ingest and query data, and manage settings and resources. For example, you can create new API tokens and change existing datasets with API requests. To prove that these requests come from you, you must include forms of authentication called tokens in your API requests. Axiom offers two types of tokens:
1414

1515
- [API tokens](#api-tokens) let you control the actions that can be performed with the token. For example, you can specify that requests authenticated with a certain API token can only query data from a particular dataset.
16-
- [Personal access tokens (PATs)](#personal-access-tokens-pat) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, avoid using PATs.
16+
- [Personal access tokens (PATs)](#personal-access-tokens-pat) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, use API tokens instead of PATs.
1717

1818
<Warning>
1919
Keep tokens confidential. Anyone with these forms of authentication can perform actions on your behalf such as sending data to your Axiom dataset.
2020
</Warning>
2121

2222
When working with tokens, use the principle of least privilege:
2323
- Assign only those privileges to API tokens that are necessary to perform the actions that you want.
24-
- When possible, avoid using PATs because they have full control over your Axiom account.
24+
- When possible, use API tokens instead of PATs because PATs have full control over your Axiom account.
2525

2626
For more information on how to use tokens in API requests, see [Get started with Axiom API](/restapi/introduction).
2727

@@ -75,7 +75,7 @@ To regenerate an advanced API token, follow these steps:
7575

7676
## Personal access tokens (PAT)
7777

78-
Personal access tokens (PATs) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, avoid using PATs.
78+
Personal access tokens (PATs) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, use API tokens instead of PATs.
7979

8080
### Create PAT
8181

restapi/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Encode the body of API requests as JSON objects and set the `Content-Type` heade
4949
To prove that API requests come from you, you must include forms of authentication called tokens in your API requests. Axiom offers two types of tokens:
5050

5151
- [API tokens](/reference/tokens#api-tokens) let you control the actions that can be performed with the token. For example, you can specify that requests authenticated with a certain API token can only query data from a particular dataset.
52-
- [Personal access tokens (PATs)](/reference/tokens#personal-access-tokens-pat) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, avoid using PATs.
52+
- [Personal access tokens (PATs)](/reference/tokens#personal-access-tokens-pat) provide full control over your Axiom account. Requests authenticated with a PAT can perform every action you can perform in Axiom. When possible, use API tokens instead of PATs.
5353

5454
If you use an API token for authentication, include the API token in the `Authorization` header.
5555

0 commit comments

Comments
 (0)