Skip to content

Conversation

@nakabonne
Copy link
Member

What this PR does / why we need it:
This PR changes Grafana settings to manage dashboards across multiple Grafana folders declaratively.

image

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'Cluster-Stats'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: One vote from me to get rid of the suffix, just use Cluster, Control-Plane, Piped.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. I'm gonna adopt it as I feel the same way.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.22%. This pull request does not change code coverage.

@nghialv
Copy link
Member

nghialv commented Jul 7, 2021

I also wonder about the convention of the dashboard name.
Where should we use a plural noun or where should not. We are having Nodes, Pods but why Prometheus, Go.
So IMO, to be simple we don't use plural nouns at all.

@nakabonne
Copy link
Member Author

So IMO, to be simple we don't use plural nouns at all.

Looks neat. I apply it as well

@nakabonne
Copy link
Member Author

Fixed.

@nghialv
Copy link
Member

nghialv commented Jul 7, 2021

Nice.
/lgtm

@pipecd-bot pipecd-bot added the lgtm label Jul 7, 2021
@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.22%. This pull request does not change code coverage.

@khanhtc1202
Copy link
Member

🚀
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by khanhtc1202.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

@pipecd-bot pipecd-bot merged commit e1c749a into master Jul 7, 2021
@pipecd-bot pipecd-bot deleted the grafana-folder branch July 7, 2021 03:36
pipecd-bot pushed a commit that referenced this pull request Jul 7, 2021
**What this PR does / why we need it**:
This PR adds three Grafana dashboards.

![image](https://user-images.githubusercontent.com/19730728/124704484-1f81f680-df2f-11eb-8c04-a40be7b01aac.png)

Because all dashboards got removed due to #2191, let me merge once though I'm still in the middle of building.

**Which issue(s) this PR fixes**:

Ref #1867

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
-->
```release-note
NONE
```

This PR was merged by Kapetanios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants