Skip to content

Commit 609921b

Browse files
docs: Add notes on node types (backport release-3.3.x) (#15918)
Co-authored-by: Poyzan <[email protected]>
1 parent 9296c95 commit 609921b

File tree

1 file changed

+5
-77
lines changed

1 file changed

+5
-77
lines changed

docs/sources/setup/size/_index.md

Lines changed: 5 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ Query resource needs can greatly vary with usage patterns and correct configurat
2626
- Large Loki clusters benefit from a disk based caching solution, memcached-extstore. Please see the detailed [blog post](https://grafana.com/blog/2023/08/23/how-we-scaled-grafana-cloud-logs-memcached-cluster-to-50tb-and-improved-reliability/) and read more about [memcached/nvm-caching here](https://memcached.org/blog/nvm-caching/).
2727
- If you’re running a cluster that handles less than 30TB/day (~1PB/month) ingestion, we do not recommend configuring memcached-extstore. The additional operational complexity does not justify the savings.
2828

29-
These are the node types we suggest from various cloud providers. Please see the relevant specifications in your provider documentation.
30-
<div id="app">
31-
<label>Node Type</label>
32-
<select name="node-type" v-model="node">
33-
<option v-for="node of nodes">{{ node }}</option>
34-
</select><br>
35-
</div>
3629

3730
{{< tabs >}}
3831
{{< tab-content name="Less than 100TB/month (3TB/day)" >}}
@@ -70,74 +63,9 @@ These are the node types we suggest from various cloud providers. Please see the
7063
{{< /tab-content >}}
7164
{{< /tabs >}}
7265

66+
<h3>Instance Types</h3>
7367

74-
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
75-
<style>
76-
77-
#app label.icon.question::after {
78-
content: '\f29c';
79-
display: inline-block;
80-
font: normal normal normal 14px/1 FontAwesome;
81-
padding-left: 8px;
82-
}
83-
84-
#app a {
85-
padding: .5em;
86-
87-
}
88-
}
89-
</style>
90-
91-
<script>
92-
const API_URL = `https://logql-analyzer.grafana.net/next/api/sizing`
93-
const { createApp } = Vue
94-
95-
createApp({
96-
data() {
97-
return {
98-
nodes: ["Loading..."],
99-
node: "Loading...",
100-
help: null,
101-
}
102-
},
103-
104-
computed: {
105-
helmURL() {
106-
return `${API_URL}/helm?${this.queryString}`
107-
},
108-
queryString() {
109-
return `node-type=${encodeURIComponent(this.node)}&ingest=${encodeURIComponent(this.bytesDayIngest)}&retention=${encodeURIComponent(this.retention)}&queryperf=${encodeURIComponent(this.queryperf)}`
110-
},
111-
ingestInGB: {
112-
get () {
113-
if (this.bytesDayIngest == null) {
114-
return null
115-
}
116-
// Convert to GB
117-
return this.bytesDayIngest / 1000 / 1000 / 1000
118-
},
119-
set (gbDayIngest) {
120-
console.log(gbDayIngest)
121-
this.bytesDayIngest = gbDayIngest * 1000 * 1000 * 1000
122-
console.log(this.bytesDayIngest)
123-
}
124-
}
125-
},
126-
127-
created() {
128-
// fetch on init
129-
this.fetchNodeTypes()
130-
},
131-
132-
methods: {
133-
async fetchNodeTypes() {
134-
const url = `${API_URL}/nodes`
135-
this.nodes = await (await fetch(url,{mode: 'cors'})).json()
136-
},
137-
},
138-
139-
watch: {
140-
node: 'calculateClusterSize',
141-
}
142-
}).mount('#app')
143-
</script>
68+
These are the node types we suggest from various cloud providers. Please see the relevant specifications in the provider's documentation.
69+
- For AWS any General Purpose machine available in your region that belongs to `M6` instance family and above for Intel chips and `T2` machine family and above for ARM chips.
70+
- For GCP any General Purpose machine available in your region that belongs to to `E2` instance family and above.
71+
- For memcached-extstore nodes we suggest storage optimised instances that can has NVMe storage so that the additional disk space is utilized.

0 commit comments

Comments
 (0)