Skip to content

Commit 128862a

Browse files
committed
fix documentation links
1 parent 8307520 commit 128862a

15 files changed

+62
-38
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
66
[![](https://img.shields.io/badge/slack-coroot-brightgreen.svg?logo=slack)](https://join.slack.com/t/coroot-community/shared_invite/zt-1gsnfo0wj-I~Zvtx5CAAb8vr~r~vecyw)
77

8-
### [Features](#features) | [Installation](https://coroot.com/docs/coroot-community-edition/getting-started/installation) | [Documentation](https://coroot.com/docs/coroot-community-edition/) | [Community & Support](#community--support) | [Live demo](https://community-demo.coroot.com/) | [Cloud](https://coroot.com/cloud)
8+
### [Features](#features) | [Installation](https://coroot.com/docs/coroot/quick-start/community) | [Documentation](https://coroot.com/docs/) | [Community & Support](#community--support) | [Live demo](https://community-demo.coroot.com/)
99

1010

1111

@@ -103,11 +103,11 @@ Coroot's eBPF-based instrumentation can capture requests without requiring any c
103103
## Installation
104104

105105
You can run Coroot as a Docker container or deploy it into any Kubernetes cluster.
106-
Check out the [Installation guide](https://coroot.com/docs/coroot-community-edition/getting-started/installation).
106+
Check out the [Installation guide](https://coroot.com/docs/coroot/quick-start/community).
107107

108108
## Documentation
109109

110-
The Coroot documentation is available at [coroot.com/docs/coroot-community-edition](https://coroot.com/docs/coroot-community-edition).
110+
The Coroot documentation is available at [coroot.com/docs](https://coroot.com/docs/).
111111

112112
## Live demo
113113

front/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</v-btn>
4747
</template>
4848
<v-list dense>
49-
<v-list-item href="https://coroot.com/docs/coroot-community-edition" target="_blank">
49+
<v-list-item href="https://coroot.com/docs/" target="_blank">
5050
<v-icon small class="mr-1">mdi-book-open-outline</v-icon>Documentation</v-list-item
5151
>
5252
<v-list-item href="https://github.com/coroot/coroot" target="_blank">

front/src/components/ApplicationsCosts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h2 class="text-h6 font-weight-regular d-md-flex align-center mb-3">
44
<v-btn v-if="category !== null" icon @click="back"><v-icon>mdi-arrow-left</v-icon></v-btn>
55
Applications
6-
<a href="https://coroot.com/docs/coroot-community-edition/costs/overview#applications" target="_blank" class="ml-1">
6+
<a href="https://coroot.com/docs/coroot/costs/overview#applications" target="_blank" class="ml-1">
77
<v-icon>mdi-information-outline</v-icon>
88
</a>
99
<v-chip v-if="category" @click:close="category = ''" label close color="primary" class="ml-3"> category: {{ category }} </v-chip>

front/src/components/CheckForUpdates.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<v-spacer />
44
<div style="color: white">Coroot {{ latestVersion }} is available &#127881;</div>
55
<a href="https://github.com/coroot/coroot/releases" target="_blank" class="ml-2 mr-1 link">Changelog</a>
6-
(<a href="https://coroot.com/docs/coroot-community-edition/getting-started/installation#upgrade" target="_blank" class="link">
7-
how to upgrade</a
8-
>)
6+
(<a href="https://coroot.com/docs/" target="_blank" class="link"> how to upgrade</a>)
97
<v-spacer />
108
<v-btn x-small icon @click="dismiss"><v-icon class="mr-0">mdi-close</v-icon></v-btn>
119
</v-system-bar>

front/src/components/NodesCosts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<h2 class="text-h6 font-weight-regular">
44
Nodes
5-
<a href="https://coroot.com/docs/coroot-community-edition/costs/overview#nodes" target="_blank">
5+
<a href="https://coroot.com/docs/coroot/costs/overview#nodes" target="_blank">
66
<v-icon>mdi-information-outline</v-icon>
77
</a>
88
</h2>

front/src/components/Widget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
if (!l) {
4646
return null;
4747
}
48-
return `https://coroot.com/docs/coroot-community-edition/${l.group}/${l.item}${l.hash ? '#' + l.hash : ''}`;
48+
return `https://coroot.com/docs/coroot/${l.group}/${l.item}${l.hash ? '#' + l.hash : ''}`;
4949
},
5050
},
5151

front/src/views/AgentInstallation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ docker rm -f coroot-node-agent
9797
</p>
9898
<p>
9999
To learn more about how to use Coroot's Helm chart, refer to the
100-
<a href="https://coroot.com/docs/coroot-community-edition/getting-started/installation" target="_blank">documentation</a>.
100+
<a href="https://coroot.com/docs/coroot/installation/kubernetes" target="_blank">documentation</a>.
101101
</p>
102102
</v-tab-item>
103103
</v-tabs-items>

front/src/views/IntegrationForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="d-flex align-center font-weight-medium mb-4">
55
<div>
66
Configure {{ title }} integration
7-
<a :href="`https://coroot.com/docs/coroot-community-edition/alerting/${type}`" target="_blank">
7+
<a :href="`https://coroot.com/docs/coroot/alerting/${type}`" target="_blank">
88
<v-icon>mdi-information-outline</v-icon>
99
</a>
1010
<v-progress-circular v-if="loading" indeterminate color="green" size="30" />

front/src/views/Logs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222

223223
<div class="grey--text my-4">
224224
To configure an application to send logs follow the
225-
<a href="https://coroot.com/docs/coroot-community-edition/logs" target="_blank">documentation</a>.
225+
<a href="https://coroot.com/docs/coroot/logs" target="_blank">documentation</a>.
226226
</div>
227227

228228
<v-alert v-if="error" color="red" icon="mdi-alert-octagon-outline" outlined text class="my-3">

front/src/views/OpenTelemetryIntegration.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
<p>Instrument your apps with the relevant OpenTelemetry SDK:</p>
4646

4747
<ul class="my-2">
48-
<li><a href="https://coroot.com/docs/coroot-community-edition/tracing/opentelemetry-go" target="_blank">Go</a></li>
49-
<li><a href="https://coroot.com/docs/coroot-community-edition/tracing/opentelemetry-java" target="_blank">Java</a></li>
50-
<li><a href="https://coroot.com/docs/coroot-community-edition/tracing/opentelemetry-python" target="_blank">Python</a></li>
48+
<li><a href="https://coroot.com/docs/coroot/tracing/opentelemetry-go" target="_blank">Go</a></li>
49+
<li><a href="https://coroot.com/docs/coroot/tracing/opentelemetry-java" target="_blank">Java</a></li>
50+
<li><a href="https://coroot.com/docs/coroot/tracing/opentelemetry-python" target="_blank">Python</a></li>
5151
<li><a href="https://opentelemetry.io/docs/languages/cpp/getting-started/" target="_blank">C++</a></li>
5252
<li><a href="https://opentelemetry.io/docs/languages/net/getting-started/" target="_blank">.NET</a></li>
5353
<li><a href="https://opentelemetry.io/docs/languages/js/getting-started/" target="_blank">JavaScript</a></li>

front/src/views/Profiling.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
<div class="grey--text my-4">
5353
To configure an application to send profiles follow the
54-
<a href="https://coroot.com/docs/coroot-community-edition/profiling" target="_blank">documentation</a>.
54+
<a href="https://coroot.com/docs/coroot/profiling" target="_blank">documentation</a>.
5555
</div>
5656

5757
<v-alert v-if="error" color="red" icon="mdi-alert-octagon-outline" outlined text class="my-3">

front/src/views/Project.vue

Lines changed: 37 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,25 @@
2424
<template v-if="tab === 'prometheus'">
2525
<h1 class="text-h5 my-5">
2626
Prometheus integration
27-
<a href="https://coroot.com/docs/coroot-community-edition/getting-started/project-configuration" target="_blank">
27+
<a href="https://coroot.com/docs/coroot/configuration/prometheus" target="_blank">
2828
<v-icon>mdi-information-outline</v-icon>
2929
</a>
3030
</h1>
3131
<IntegrationPrometheus />
3232
</template>
3333

3434
<template v-if="tab === 'clickhouse'">
35-
<h1 class="text-h5 my-5">ClickHouse integration</h1>
35+
<h1 class="text-h5 my-5">
36+
ClickHouse integration
37+
<a href="https://coroot.com/docs/coroot/configuration/clickhouse" target="_blank">
38+
<v-icon>mdi-information-outline</v-icon>
39+
</a>
40+
</h1>
3641
<p>
3742
Coroot stores
38-
<a href="https://coroot.com/docs/coroot-community-edition/logs" target="_blank">logs</a>,
39-
<a href="https://coroot.com/docs/coroot-community-edition/tracing" target="_blank">traces</a>, and
40-
<a href="https://coroot.com/docs/coroot-community-edition/profiling" target="_blank">profiles</a> in the ClickHouse database.
43+
<a href="https://coroot.com/docs/coroot/logs" target="_blank">logs</a>,
44+
<a href="https://coroot.com/docs/coroot/tracing" target="_blank">traces</a>, and
45+
<a href="https://coroot.com/docs/coroot/profiling" target="_blank">profiles</a> in the ClickHouse database.
4146
</p>
4247
<IntegrationClickhouse />
4348
</template>
@@ -50,7 +55,7 @@
5055
<template v-if="tab === 'inspections'">
5156
<h1 class="text-h5 my-5">
5257
Inspection configs
53-
<a href="https://coroot.com/docs/coroot-community-edition/inspections/overview" target="_blank">
58+
<a href="https://coroot.com/docs/coroot/inspections/overview" target="_blank">
5459
<v-icon>mdi-information-outline</v-icon>
5560
</a>
5661
</h1>
@@ -60,10 +65,7 @@
6065
<template v-if="tab === 'applications'">
6166
<h2 class="text-h5 my-5" id="categories">
6267
Application categories
63-
<a
64-
href="https://coroot.com/docs/coroot-community-edition/getting-started/project-configuration#application-categories"
65-
target="_blank"
66-
>
68+
<a href="https://coroot.com/docs/coroot/configuration/application-categories" target="_blank">
6769
<v-icon>mdi-information-outline</v-icon>
6870
</a>
6971
</h2>
@@ -74,7 +76,12 @@
7476
</p>
7577
<ApplicationCategories />
7678

77-
<h2 class="text-h5 mt-10 mb-5" id="custom-applications">Custom applications</h2>
79+
<h2 class="text-h5 mt-10 mb-5" id="custom-applications">
80+
Custom applications
81+
<a href="https://coroot.com/docs/coroot/configuration/custom-applications" target="_blank">
82+
<v-icon>mdi-information-outline</v-icon>
83+
</a>
84+
</h2>
7885

7986
<p>Coroot groups individual containers into applications using the following approach:</p>
8087

@@ -100,19 +107,34 @@
100107
<template v-if="tab === 'notifications'">
101108
<h1 class="text-h5 my-5">
102109
Notification integrations
103-
<a href="https://coroot.com/docs/coroot-community-edition/getting-started/alerting" target="_blank">
110+
<a href="https://coroot.com/docs/coroot/alerting/slo-monitoring" target="_blank">
104111
<v-icon>mdi-information-outline</v-icon>
105112
</a>
106113
</h1>
107114
<Integrations />
108115
</template>
109116

110117
<template v-if="tab === 'organization'">
111-
<h1 class="text-h5 my-5">Users</h1>
118+
<h1 class="text-h5 my-5">
119+
Users
120+
<a href="https://coroot.com/docs/coroot/configuration/authentication" target="_blank">
121+
<v-icon>mdi-information-outline</v-icon>
122+
</a>
123+
</h1>
112124
<Users />
113-
<h1 class="text-h5 mt-10 mb-5">Role-Based Access Control (RBAC)</h1>
125+
<h1 class="text-h5 mt-10 mb-5">
126+
Role-Based Access Control (RBAC)
127+
<a href="https://coroot.com/docs/coroot/configuration/rbac" target="_blank">
128+
<v-icon>mdi-information-outline</v-icon>
129+
</a>
130+
</h1>
114131
<RBAC />
115-
<h1 class="text-h5 mt-10 mb-5">Single Sign-On (SAML)</h1>
132+
<h1 class="text-h5 mt-10 mb-5">
133+
Single Sign-On (SAML)
134+
<a href="https://coroot.com/docs/coroot/configuration/authentication" target="_blank">
135+
<v-icon>mdi-information-outline</v-icon>
136+
</a>
137+
</h1>
116138
<SSO />
117139
</template>
118140
</div>

front/src/views/Tracing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114
<div class="grey--text my-4">
115115
To configure an application to send traces follow the
116-
<a href="https://coroot.com/docs/coroot-community-edition/tracing" target="_blank">documentation</a>.
116+
<a href="https://coroot.com/docs/coroot/tracing" target="_blank">documentation</a>.
117117
</div>
118118

119119
<v-alert v-if="error" color="red" icon="mdi-alert-octagon-outline" outlined text class="my-3">

main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ func main() {
121121

122122
instanceUuid := getInstanceUuid(*dataDir)
123123

124-
var statsCollector *stats.Collector
125-
if !*disableStats {
126-
statsCollector = stats.NewCollector(instanceUuid, version, database, promCache, pricing)
127-
}
128-
129124
watchers.Start(database, promCache, pricing, !*doNotCheckSLO, !*doNotCheckForDeployments)
130125

131126
a := api.NewApi(promCache, database, coll, pricing, rbac.NewStaticRoleManager())
@@ -134,6 +129,11 @@ func main() {
134129
klog.Exitln(err)
135130
}
136131

132+
var statsCollector *stats.Collector
133+
if !*disableStats {
134+
statsCollector = stats.NewCollector(instanceUuid, version, database, promCache, pricing)
135+
}
136+
137137
router := mux.NewRouter()
138138
router.PathPrefix("/debug/pprof/").Handler(http.DefaultServeMux)
139139
router.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {}).Methods(http.MethodGet)

stats/stats.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type Stats struct {
6262
Infra struct {
6363
Projects int `json:"projects"`
6464
Nodes int `json:"nodes"`
65+
CPUCores int `json:"cpu_cores"`
6566
Applications int `json:"applications"`
6667
Instances int `json:"instances"`
6768
Deployments int `json:"deployments"`
@@ -363,6 +364,9 @@ func (c *Collector) collect() Stats {
363364

364365
stats.Infra.Nodes += len(w.Nodes)
365366
for _, n := range w.Nodes {
367+
if cores := n.CpuCapacity.Last(); cores > 0 {
368+
stats.Infra.CPUCores += int(cores)
369+
}
366370
stats.Integration.NodeAgentVersions.Add(n.AgentVersion.Value())
367371
stats.Stack.Clouds.Add(strings.ToLower(n.CloudProvider.Value()))
368372
if n.Price != nil {

0 commit comments

Comments
 (0)