Skip to content

Commit 057fa1d

Browse files
docs: update spelling of datasource to data source
1 parent a0768f0 commit 057fa1d

File tree

25 files changed

+51
-50
lines changed

25 files changed

+51
-50
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Due to a breaking change (see section below), the following instructions are req
1616
- **all**: rename plugin IDs from `pcp-*-*` to `performancecopilot-*-*`
1717
- **all**: remove `window.setGrafanaPcpLogLevel()` debug function
1818
- **chore**: remove deprecated `dependencies.grafanaVersion` field from plugin metadata
19+
- **docs**: update spelling of datasource to data source
1920

2021
### Breaking Changes
2122
- the internal plugin IDs of the data source and panel plugins were renamed from `pcp-X-Y` to `performancecopilot-X-Y`, for example `pcp-redis-datasource` was renamed to `performancecopilot-redis-datasource` in order to conform to the Grafana plugin id naming conventions

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ deps: deps-dashboards deps-frontend deps-backend ## Install all dependencies
2929

3030
##@ Development
3131

32-
dev-frontend: deps-frontend ## Build frontend datasources (development)
32+
dev-frontend: deps-frontend ## Build frontend data sources (development)
3333
yarn run dev
3434

3535
watch-frontend: deps-frontend build-dashboards ## Auto rebuilt frontend on file changes
@@ -38,7 +38,7 @@ watch-frontend: deps-frontend build-dashboards ## Auto rebuilt frontend on file
3838
dev-backend: deps-backend
3939
go build -race -o ./dist/datasources/redis/pcp_redis_datasource_$$(go env GOOS)_$$(go env GOARCH) -tags netgo -ldflags -w ./pkg
4040

41-
restart-backend: ## Rebuild and restart backend datasource (as root)
41+
restart-backend: ## Rebuild and restart backend data source (as root)
4242
sudo -u "$$(stat -c '%U' .)" make dev-backend
4343
killall pcp_redis_datasource_$$(go env GOOS)_$$(go env GOARCH)
4444

@@ -51,14 +51,14 @@ dist/%.json: src/%.jsonnet $(JSONNET_VENDOR_DIR)
5151

5252
build-dashboards: $(shell find src -name '*.jsonnet' | sed -E 's@src/(.+)\.jsonnet@dist/\1.json@g') ## Build Grafana dashboards from jsonnet
5353

54-
build-frontend: deps-frontend ## Build frontend datasources
54+
build-frontend: deps-frontend ## Build frontend data sources
5555
yarn run build
5656

5757
# check for javascript greater than 1 MB
5858
test $$(find dist/ -name '*.js' -size +1024k | wc -l) -eq 1 || exit 1
5959

6060
GO_LD_FLAGS := -w -s -extldflags "-static"
61-
build-backend: deps-backend ## Build backend datasource
61+
build-backend: deps-backend ## Build backend data source
6262
#mage buildAll
6363
for arch in amd64 arm arm64 s390x ppc64le 386; do \
6464
CGO_ENABLED=0 GOOS=linux GOARCH=$${arch} go build -o dist/datasources/redis/pcp_redis_datasource_linux_$${arch} -ldflags '$(GO_LD_FLAGS)' ./pkg; \

NOTICE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (c) 2019 Netflix
33
Copyright (c) 2019-2021 Grafana Labs
44
Copyright (c) 2019-2021 Red Hat
55

6-
Thanks to Jason Koch for the initial pcp-live datasource implementation and the host overview dashboard.
7-
The Linux BPF Pony (used for the bpftrace datasource) was created by Deirdré Straughan using General Zoi's pony creator.
6+
Thanks to Jason Koch for the initial pcp-live data source implementation and the host overview dashboard.
7+
The Linux BPF Pony (used for the bpftrace data source) was created by Deirdré Straughan using General Zoi's pony creator.
88
The flamegraph panel uses d3-flame-graph, Copyright (c) 2018 Martin Spier.
99
The bpftrace documentation follows the [Reference Guide](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md), written by bpftrace community contributors.

cypress/integration/checklist.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ describe('PCP Vector Checklist', () => {
33
cy.task('grafana:reset');
44
cy.login();
55
cy.enablePlugin();
6-
cy.addDatasource('performancecopilot-vector-datasource', 'PCP Vector datasource');
6+
cy.addDatasource('performancecopilot-vector-datasource', 'PCP Vector data source');
77
});
88

99
beforeEach(() => {

cypress/integration/datasources/redis.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
describe('PCP Redis datasource', () => {
1+
describe('PCP Redis data source', () => {
22
before(() => {
33
cy.task('grafana:reset');
44
cy.login();
55
cy.enablePlugin();
6-
cy.addDatasource('performancecopilot-redis-datasource', 'PCP Redis datasource');
6+
cy.addDatasource('performancecopilot-redis-datasource', 'PCP Redis data source');
77
});
88

99
beforeEach(() => {

cypress/integration/datasources/vector.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
describe('PCP Vector datasource', () => {
1+
describe('PCP Vector data source', () => {
22
before(() => {
33
cy.task('grafana:reset');
44
cy.login();
55
cy.enablePlugin();
6-
cy.addDatasource('performancecopilot-vector-datasource', 'PCP Vector datasource');
6+
cy.addDatasource('performancecopilot-vector-datasource', 'PCP Vector data source');
77
});
88

99
beforeEach(() => {

cypress/integration/setup.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ describe('grafana-pcp setup', () => {
1313
cy.get('button').should('include.text', 'Disable');
1414
});
1515

16-
it('should setup PCP Redis datasource', () => {
16+
it('should setup PCP Redis data source', () => {
1717
cy.visit('/datasources/new');
1818
cy.contains('PCP Redis').click();
1919
cy.get('input[placeholder="http://localhost:44322"]').type('http://localhost:44322');
2020
cy.get('button[type=submit]').click();
2121
cy.contains('Data source is working');
2222
});
2323

24-
it('should setup PCP Vector datasource', () => {
24+
it('should setup PCP Vector data source', () => {
2525
cy.visit('/datasources/new');
2626
cy.contains('PCP Vector').click();
2727
cy.get('input[placeholder="http://localhost:44322"]').type('http://localhost:44322');
2828
cy.get('button[type=submit]').click();
2929
cy.contains('Data source is working, using Performance Co-Pilot');
3030
});
3131

32-
it('should setup PCP bpftrace datasource', () => {
32+
it('should setup PCP bpftrace data source', () => {
3333
cy.visit('/datasources/new');
3434
cy.contains('PCP bpftrace').click();
3535
cy.get('input[placeholder="http://localhost:44322"]').type('http://localhost:44322');

docs/architecture.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Dashboards
2222
Performance Co-Pilot metrics can be analyzed with Grafana dashboards, using the **grafana-pcp** plugin.
2323
There are two modes available:
2424

25-
* historical metrics across multiple hosts using the :doc:`datasources/redis` datasource
26-
* live, on-host metrics using the :doc:`datasources/vector` datasource
25+
* historical metrics across multiple hosts using the :doc:`datasources/redis` data source
26+
* live, on-host metrics using the :doc:`datasources/vector` data source
2727

28-
The :doc:`datasources/redis` datasource sends :ref:`pmseries <pmseries-query-language>` queries to **pmproxy**, which in turn queries the redis database for metrics.
29-
The :doc:`datasources/vector` datasource connects to **pmproxy**, which in turn requests live metrics directly from a local or remote **PMCD**.
28+
The :doc:`datasources/redis` data source sends :ref:`pmseries <pmseries-query-language>` queries to **pmproxy**, which in turn queries the redis database for metrics.
29+
The :doc:`datasources/vector` data source connects to **pmproxy**, which in turn requests live metrics directly from a local or remote **PMCD**.
3030
In this case, metrics are stored temporarily in the browser, and metric values are lost when the browser tab is refreshed.
31-
The :doc:`PCP Redis datasource <datasources/redis>` is required for persistence.
31+
The :doc:`PCP Redis data source <datasources/redis>` is required for persistence.

docs/datasources/authentication.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ To test if the authentication is set up correctly, execute the following command
7171
7272
$ pminfo -f -h "pcp://127.0.0.1?username=pcptestuser" disk.dev.read
7373
74-
Configuring the Grafana Datasource
75-
----------------------------------
74+
Configuring the Grafana Data source
75+
-----------------------------------
7676

77-
Go to the Grafana datasource settings, enable **Basic auth**, and enter the username and password.
77+
Go to the Grafana data source settings, enable **Basic auth**, and enter the username and password.
7878
Click the *Save & Test* button to check if the authentication is working.
7979

8080
.. note::

docs/guides/containers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ grafana-pcp includes the following (optional) dashboards:
99
* PCP Vector: Container Overview (CGroups v1)
1010
* PCP Vector: Container Overview (CGroups v2)
1111

12-
You can import the corresponding dashboard on the :doc:`../datasources/vector` datasource settings page.
12+
You can import the corresponding dashboard on the :doc:`../datasources/vector` data source settings page.
1313

1414
.. note::
1515
grafana-pcp before version 3.0.0 includes a single dashboard called **PCP Vector: Container Overview** which supports CGroups v1 only and is installed by default (i.e. no import is required).

0 commit comments

Comments
 (0)