Skip to content

Commit 8800064

Browse files
authored
Add a cloud selector dropdown and CloudLink react component that updates based on its value (#284)
* Add CloudLink react component to allow for easy link switching between clouds Signed-off-by: Dom Del Nano <ddelnano@gmail.com> Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent bae1994 commit 8800064

25 files changed

Lines changed: 271 additions & 57 deletions

content/en/01-about-pixie/05-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ See the [User Management & Sharing](/reference/admin/user-mgmt) reference docs.
136136

137137
### How do I set up RBAC?
138138

139-
Pixie does not yet offer full RBAC support. However, you can enable “Approvals” under the [Org Settings](https://work.withpixie.ai/admin/org) tab on the admin page. This requires each user who registers in the org to be manually approved on the [Users](https://work.withpixie.ai/admin/users) tab before they can log in.
139+
Pixie does not yet offer full RBAC support. However, you can enable “Approvals” under the <CloudLink url="/admin/org">Org Settings</CloudLink> tab on the admin page. This requires each user who registers in the org to be manually approved on the <CloudLink url="/admin/users">Users</CloudLink> tab before they can log in.
140140

141141
### How do I send alerts?
142142

content/en/02-installing-pixie/03-install-guides/01-community-cloud-for-pixie.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Community Cloud for Pixie"
3-
metaTitle: "Install | Install Guides | Community Cloud for Pixie"
2+
title: "New Relic - Community Cloud"
3+
metaTitle: "Install | Install Guides | New Relic - Community Cloud"
44
metaDescription: "Getting started guide to setup Pixie"
55
order: 1
66
---

content/en/02-installing-pixie/04-install-schemes/02-yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ For more deploy options that you can specify to configure Pixie, refer to our [d
8080

8181
## 6. Verify
8282

83-
To verify that Pixie is running in your environment you can check the [admin page](https://work.withpixie.ai/admin) or run:
83+
To verify that Pixie is running in your environment you can check the <CloudLink url="/admin">admin page</CloudLink> or run:
8484

8585
```bash
8686
# Check pods are up

content/en/02-installing-pixie/04-install-schemes/03-helm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ helm install pixie pixie-vizier/vizier-chart --set deployKey=<deploy-key-goes-he
9090

9191
## 4. Verify
9292

93-
To verify that Pixie is running in your environment you can check the [admin page](https://work.withpixie.ai/admin) or run:
93+
To verify that Pixie is running in your environment you can check the <CloudLink url="/admin">admin page</CloudLink> or run:
9494

9595
```bash
9696
# Check pods are up

content/en/03-using-pixie/01-using-live-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pixie needs to be installed on your Kubernetes cluster. If it is not already ins
1717

1818
## Running your First PxL Script
1919

20-
1. Open Pixie's [Live UI](https://work.withpixie.ai).
20+
1. Open Pixie's <CloudLink url="/">Live UI</CloudLink>.
2121

2222
2. Select your cluster using the `cluster` drop-down menu.
2323

content/en/04-tutorials/01-pixie-101/01-network-monitoring.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ A global view of the network traffic flowing within a cluster can be used to:
2929

3030
Let’s use the `px/net_flow_graph` script to see a graph of all of the network traffic passing through the cluster:
3131

32-
1. Open the [Live UI](http://work.withpixie.ai/) and select `px/net_flow_graph` from the `script` drop-down menu at the top.
32+
1. Open the <CloudLink url="/">Live View</CloudLink> and select `px/net_flow_graph` from the `script` drop-down menu at the top.
3333

3434
> When the script opens, you’ll get an error indicating a value is missing for the `namespace` required argument. The UI denotes required script arguments with an asterisk after the argument name.
3535
@@ -161,5 +161,5 @@ for a different view of the graph.
161161

162162
This tutorial demonstrated three of Pixie's [community scripts](https://github.com/pixie-io/pixie/tree/main/src/pxl_scripts). For more insight into your network, check out the following scripts:
163163

164-
- [`px/dns_data`](https://work.withpixie.ai/script/dns_data) shows the most recent DNS requests in your cluster, including the full request and response bodies.
165-
- [`bpftrace/tcp_retransmits`](https://work.withpixie.ai/script/bpftrace/tcp_retransmits) graphs the TCP retransmission counts across your cluster. Don't forget to click the RUN button.
164+
- <CloudLink url="script/dns_data">px/dns_data</CloudLink> shows the most recent DNS requests in your cluster, including the full request and response bodies.
165+
- <CloudLink url="script/bpftrace/tcp_retransmits">bpftrace/tcp_retransmits</CloudLink> graphs the TCP retransmission counts across your cluster. Don't forget to click the RUN button.

content/en/04-tutorials/01-pixie-101/02-infra-health.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This tutorial will demonstrate how to use Pixie to:
2424

2525
Let’s use the `px/nodes` script to get high-level resource usage information for all of the nodes in our cluster:
2626

27-
1. Open the [Live UI](http://work.withpixie.ai/) and select `px/nodes` from the `script` drop-down menu at the top.
27+
1. Open the <CloudLink url="/">Live UI</CloudLink> and select `px/nodes` from the `script` drop-down menu at the top.
2828

2929
> This script lists all of the nodes in the cluster along with their CPU usage, memory consumption, and network traffic stats. It also displays a list of pods that were on each node during the time window.
3030
@@ -112,18 +112,18 @@ This tutorial demonstrated a few of Pixie's [community scripts](https://github.c
112112

113113
#### Resource usage by Kubernetes object
114114

115-
- [`px/namespaces`](https://work.withpixie.ai/script/namespaces) lists the namespaces on the cluster with their pod and service counts. It also lists the high-level resource consumption by namespace.
116-
- [`px/namespace`](https://work.withpixie.ai/script/namespace) lists the pods and services in a given namespace, as well as a service map.
117-
- [`px/pods`](https://work.withpixie.ai/script/pods) shows an overview of the pods in the specified namespace along with their high-level application metrics (latency, error, throughput) and resource usage (cpu, writes, reads).
115+
- <CloudLink url="/script/namespaces">px/namespaces</CloudLink> lists the namespaces on the cluster with their pod and service counts. It also lists the high-level resource consumption by namespace.
116+
- <CloudLink url="/script/namespace">px/namespace</CloudLink> lists the pods and services in a given namespace, as well as a service map.
117+
- <CloudLink url="/script/pods">px/pods</CloudLink> shows an overview of the pods in the specified namespace along with their high-level application metrics (latency, error, throughput) and resource usage (cpu, writes, reads).
118118

119119
#### Memory usage
120120

121-
- [`px/pid_memory_usage`](https://work.withpixie.ai/script/pid_memory_usage) shows the virtual and average memory useage for all processes in the cluster.
122-
- [`px/service_memory_usage`](https://work.withpixie.ai/script/service_memory_usage) shows the virtual and average memory useage for all services in the cluster.
123-
- [`px/pod_lifetime_resource`](https://work.withpixie.ai/script/pod_lifetime_resource) shows the total resource usage of a pod over its lifetime.
121+
- <CloudLink url="script/pid_memory_usage">px/pid_memory_usage</CloudLink> shows the virtual and average memory useage for all processes in the cluster.
122+
- <CloudLink url="script/service_memory_usage">px/service_memory_usage</CloudLink> shows the virtual and average memory useage for all services in the cluster.
123+
- <CloudLink url="script/pod_lifetime_resource">px/pod_lifetime_resource</CloudLink> shows the total resource usage of a pod over its lifetime.
124124

125125
#### Miscellaneous / other
126126

127-
- [`px/perf_flamegraph`](https://work.withpixie.ai/script/perf_flamegraph) shows stack trace samples that indicate where your applications are spending their time. Optional filters refine the results by namespace, node or pod.
128-
- [`px/upids`](https://work.withpixie.ai/script/upids) shows a list of UPIDs running in the specified namespace.
129-
- [`px/jvm_stats`](https://work.withpixie.ai/script/jvm_stats) shows JVM stats for Java processes running on the cluster.
127+
- <CloudLink url="script/perf_flamegraph">px/perf_flamegraph</CloudLink> shows stack trace samples that indicate where your applications are spending their time. Optional filters refine the results by namespace, node or pod.
128+
- <CloudLink url="script/upids">px/upids</CloudLink> shows a list of UPIDs running in the specified namespace.
129+
- <CloudLink url="script/jvm_stats">px/jvm_stats</CloudLink> shows JVM stats for Java processes running on the cluster.

content/en/04-tutorials/01-pixie-101/03-service-performance.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ When debugging issues with microservices, it helps to start at a high-level view
3838

3939
For a global view of the services in your cluster, we'll use the `px/cluster` script:
4040

41-
1. Open the [Live UI](http://work.withpixie.ai/) and select `px/cluster` from the `script` drop-down menu at the top.
41+
1. Open the <CloudLink url="/">Live UI</CloudLink> and select `px/cluster` from the `script` drop-down menu at the top.
4242

4343
> This script shows a graph of the HTTP traffic between the services in your cluster, along with latency, error, and throughput rate per service.
4444
@@ -169,7 +169,7 @@ Let's look at latency by logical service endpoint:
169169

170170
This tutorial demonstrated a few of Pixie's [community scripts](https://github.com/pixie-io/pixie/tree/main/src/pxl_scripts). For more insight into the health of your services, check out the following scripts:
171171

172-
- [`px/pod`](http://work.withpixie.ai/script/pod) shows a CPU flamegraph for the pod to see how your Go/C++/Rust applications are spending their time. To learn more about how use Pixie for application profiling, check out the [Profiling with Flamegraphs](/tutorials/pixie-101/profiler) tutorial.
173-
- [`px/services`](http://work.withpixie.ai/script/services) shows LET over time for all services in the given namespace, along with a service graph.
174-
- [`px/service_stats`](http://work.withpixie.ai/script/service_stats) shows LET over time for the given service, along with a service graph and summary of incoming and outgoing traffic.
175-
- [`px/service_edge_stats`](http://work.withpixie.ai/script/service_edge_stats) shows statistics about the traffic between two services.
172+
- <CloudLink url="/script/pod">px/pod</CloudLink> shows a CPU flamegraph for the pod to see how your Go/C++/Rust applications are spending their time. To learn more about how use Pixie for application profiling, check out the [Profiling with Flamegraphs](/tutorials/pixie-101/profiler) tutorial.
173+
- <CloudLink url="/script/services">px/services</CloudLink> shows LET over time for all services in the given namespace, along with a service graph.
174+
- <CloudLink url="/script/service_stats">px/service_stats</CloudLink> shows LET over time for the given service, along with a service graph and summary of incoming and outgoing traffic.
175+
- <CloudLink url="/script/service_edge_stats">px/service_edge_stats</CloudLink> shows statistics about the traffic between two services.

content/en/04-tutorials/01-pixie-101/04-database-query-profiling.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This tutorial will demonstrate how to use Pixie to monitor MySQL:
3333

3434
To see MySQL latency, error, and throughput rate for all pods in your cluster, we’ll use the `px/mysql_stats` script:
3535

36-
1. Open the [Live UI](http://work.withpixie.ai/) and select `px/mysql_stats` from the `script` drop-down menu.
36+
1. Open the <CloudLink url="/">Live UI</CloudLink> and select `px/mysql_stats` from the `script` drop-down menu.
3737

3838
> This script shows latency, error and throughput over time for all MySQL requests in the cluster.
3939
@@ -197,17 +197,17 @@ This tutorial demonstrated a few of Pixie's [community scripts](https://github.c
197197

198198
#### PostgreSQL
199199

200-
- [`px/pgsql_data`](https://work.withpixie.ai/script/pgsql_data) shows the most recent Postgres requests in the cluster.
201-
- [`px/pgsql_stats`](https://work.withpixie.ai/script/pgsql_stats) shows latency, error, and throughput rate for a pod's PostgreSQL requests.
202-
- [`px/pgsql_flow_graph`](https://work.withpixie.ai/script/pgsql_flow_graph) shows a graph of the PostgreSQL messages in the cluster with latency stats.
200+
- <CloudLink url="/script/pgsql_data">px/pgsql_data</CloudLink> shows the most recent Postgres requests in the cluster.
201+
- <CloudLink url="/script/pgsql_stats">px/pgsql_stats</CloudLink> shows latency, error, and throughput rate for a pod's PostgreSQL requests.
202+
- <CloudLink url="/script/pgsql_flow_graph">px/pgsql_flow_graph</CloudLink> shows a graph of the PostgreSQL messages in the cluster with latency stats.
203203

204204
#### Redis
205205

206-
- [`px/redis_data`](https://work.withpixie.ai/script/redis_data) shows the most recent Redis requests in the cluster.
207-
- [`px/redis_stats`](https://work.withpixie.ai/script/redis_stats) shows latency, error, and throughput rate for a pod's Redis requests.
208-
- [`px/redis_flow_graph`](https://work.withpixie.ai/script/redis_flow_graph) shows a graph of the Redis messages in the cluster with latency stats.
206+
- <CloudLink url="/script/redis_data">px/redis_data</CloudLink> shows the most recent Redis requests in the cluster.
207+
- <CloudLink url="/script/redis_stats">px/redis_stats</CloudLink> shows latency, error, and throughput rate for a pod's Redis requests.
208+
- <CloudLink url="/script/redis_flow_graph">px/redis_flow_graph</CloudLink> shows a graph of the Redis messages in the cluster with latency stats.
209209

210210
#### Cassandra
211211

212-
- [`px/cql_data`](https://work.withpixie.ai/script/cql_data) shows the most recent Cassandra requests in the cluster.
213-
- [`px/cql_stats`](https://work.withpixie.ai/script/cql_stats) shows latency, error, and throughput rate for a pod's Cassandra requests.
212+
- <CloudLink url="/script/cql_data">px/cql_data</CloudLink> shows the most recent Cassandra requests in the cluster.
213+
- <CloudLink url="/script/cql_stats">px/cql_stats</CloudLink> shows latency, error, and throughput rate for a pod's Cassandra requests.

content/en/04-tutorials/01-pixie-101/05-request-tracing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ If services are backed by multiple pods, it is worth inspecting the individual p
139139

140140
This tutorial demonstrated a few of Pixie's [community scripts](https://github.com/pixie-io/pixie/tree/main/src/pxl_scripts). To see full body requests for a specific protocol, check out the following scripts:
141141

142-
- [`px/http_data`](https://work.withpixie.ai/script/http_data) shows the most recent HTTP/2 requests in the cluster.
143-
- [`px/dns_data`](https://work.withpixie.ai/script/dns_data) shows the most recent DNS requests in the cluster.
144-
- [`px/mysql_data`](https://work.withpixie.ai/script/mysql_data) shows the most recent MySQL requests in the cluster.
145-
- [`px/pgsql_data`](https://work.withpixie.ai/script/pgsql_data) shows the most recent Postgres requests in the cluster.
146-
- [`px/redis_data`](https://work.withpixie.ai/script/redis_data) shows the most recent Redis requests in the cluster.
147-
- [`px/cql_data`](https://work.withpixie.ai/script/cql_data) shows the most recent Cassandra requests in the cluster.
142+
- <CloudLink url="/script/http_data">px/http_data</CloudLink> shows the most recent HTTP/2 requests in the cluster.
143+
- <CloudLink url="/script/dns_data">px/dns_data</CloudLink> shows the most recent DNS requests in the cluster.
144+
- <CloudLink url="/script/mysql_data">px/mysql_data</CloudLink> shows the most recent MySQL requests in the cluster.
145+
- <CloudLink url="/script/pgsql_data">px/pgsql_data</CloudLink> shows the most recent Postgres requests in the cluster.
146+
- <CloudLink url="/script/redis_data">px/redis_data</CloudLink> shows the most recent Redis requests in the cluster.
147+
- <CloudLink url="/script/cql_data">px/cql_data</CloudLink> shows the most recent Cassandra requests in the cluster.

0 commit comments

Comments
 (0)