Skip to content

Commit 87073b8

Browse files
fix Unsupported markdown Target Allocator (#3621)
1 parent 1d613a3 commit 87073b8

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

cmd/otel-allocator/README.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,20 @@ flowchart RL
7474
oc1 --> ta
7575
oc2 --> ta
7676
oc3 --> ta
77-
sm ~~~|"1. Discover Prometheus Operator CRs"| sm
78-
ta ~~~|"2. Add job to TA scrape configuration"| ta
79-
oc3 ~~~|"3. Add job to OTel Collector scrape configuration"| oc3
77+
78+
%% Labels positioned correctly using text nodes
79+
crs@{shape: text, label: "Discover Prometheus Operator CRs"}
80+
ta_scrape@{shape: text, label: "Add job to TA scrape configuration"}
81+
oc_scrape@{shape: text, label: "Add job to OTel Collector scrape configuration"}
82+
83+
oc_scrape ~~~ ta
84+
oc_scrape ~~~ ta_scrape
85+
ta ~~~ crs
86+
87+
%% Apply grey background to text labels
88+
style crs fill:#e0e0e0,stroke:#cccccc
89+
style ta_scrape fill:#e0e0e0,stroke:#cccccc
90+
style oc_scrape fill:#e0e0e0,stroke:#cccccc
8091
```
8192

8293
Even though Prometheus is not required to be installed in your Kubernetes cluster to use the Target Allocator for Prometheus CR discovery, the TA does require that the ServiceMonitor and PodMonitor be installed. These CRs are bundled with Prometheus Operator; however, they can be installed standalone as well.

0 commit comments

Comments
 (0)