-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into improve-s3-retention-setting-wording
- Loading branch information
Showing
2,517 changed files
with
234,843 additions
and
25,054 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners | ||
# Owners are automatically requested for review for PRs that changes code | ||
# that they own. | ||
* @ankitnayan | ||
|
||
/frontend/ @palashgdev @YounixM | ||
/frontend/ @YounixM | ||
/frontend/src/container/MetricsApplication @srikanthccv | ||
/frontend/src/container/NewWidget/RightContainer/types.ts @srikanthccv | ||
/deploy/ @prashant-shahi | ||
/sample-apps/ @prashant-shahi | ||
**/query-service/ @srikanthccv | ||
Makefile @srikanthccv | ||
go.* @srikanthccv | ||
.git* @srikanthccv | ||
.github @prashant-shahi | ||
/deploy/ @SigNoz/devops | ||
/sample-apps/ @SigNoz/devops | ||
.github @SigNoz/devops |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Request Dashboard | ||
about: Request a new dashboard for the SigNoz Dashboards repository | ||
title: '[Dashboard Request] ' | ||
labels: 'dashboard-template' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- Use this template to request a new dashboard for the SigNoz Dashboards repository. Providing detailed information will help us understand your needs better and speed up the dashboard creation process. --> | ||
|
||
## Dashboard Name | ||
|
||
<!-- Provide the name for the requested dashboard. Be specific (e.g., "MySQL Monitoring Dashboard"). --> | ||
|
||
## Expected Dashboard Sections and Panels | ||
|
||
(Can be tweaked (add or remove panels/sections) according to available metrics) | ||
|
||
### Section Name | ||
|
||
<!-- Brief description of what this section should display (e.g., "Resource usage metrics for MySQL database"). --> | ||
|
||
### Panel Name | ||
|
||
<!-- Description of the panel (e.g., "Displays current CPU usage, memory usage, etc."). --> | ||
|
||
<!-- - **Example:** | ||
- **Section**: Resource Metrics | ||
- **Panel**: CPU Usage - Displays the current CPU usage across all database instances. | ||
- **Panel**: Memory Usage - Displays the total memory used by the MySQL process. --> | ||
|
||
<!-- Repeat this format for any additional sections or panels. --> | ||
|
||
## Expected Dashboard Variables | ||
|
||
<!-- List any dashboard variables that should be included in the dashboard. Examples could be `deployment.environment`, `hostname`, `region`, etc. --> | ||
|
||
## Additional Comments or Requirements | ||
|
||
<!-- Include any other details, special requirements, or specific visualizations you'd like to request for this dashboard. --> | ||
|
||
## References or Screenshots | ||
|
||
<!-- Add any references or screenshots of requested dashboard if available. --> | ||
|
||
## 📋 Notes | ||
|
||
Please review the [CONTRIBUTING.md](https://github.com/SigNoz/dashboards/blob/main/CONTRIBUTING.md) for guidelines on dashboard structure, naming conventions, and how to submit a pull request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: "Update PR labels and Block PR until related docs are shipped for the feature" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: [opened, edited, labeled, unlabeled] | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
jobs: | ||
docs_label_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check PR Title and Manage Labels | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const prTitle = context.payload.pull_request.title; | ||
const prNumber = context.payload.pull_request.number; | ||
const owner = context.repo.owner; | ||
const repo = context.repo.repo; | ||
// Fetch the current PR details to get labels | ||
const pr = await github.rest.pulls.get({ | ||
owner, | ||
repo, | ||
pull_number: prNumber | ||
}); | ||
const labels = pr.data.labels.map(label => label.name); | ||
if (prTitle.startsWith('feat:')) { | ||
const hasDocsRequired = labels.includes('docs required'); | ||
const hasDocsShipped = labels.includes('docs shipped'); | ||
const hasDocsNotRequired = labels.includes('docs not required'); | ||
// If "docs not required" is present, skip the checks | ||
if (hasDocsNotRequired && !hasDocsRequired) { | ||
console.log("Skipping checks due to 'docs not required' label."); | ||
return; // Exit the script early | ||
} | ||
// If "docs shipped" is present, remove "docs required" if it exists | ||
if (hasDocsShipped && hasDocsRequired) { | ||
await github.rest.issues.removeLabel({ | ||
owner, | ||
repo, | ||
issue_number: prNumber, | ||
name: 'docs required' | ||
}); | ||
console.log("Removed 'docs required' label."); | ||
} | ||
// Add "docs required" label if neither "docs shipped" nor "docs required" are present | ||
if (!hasDocsRequired && !hasDocsShipped) { | ||
await github.rest.issues.addLabels({ | ||
owner, | ||
repo, | ||
issue_number: prNumber, | ||
labels: ['docs required'] | ||
}); | ||
console.log("Added 'docs required' label."); | ||
} | ||
} | ||
// Fetch the updated labels after any changes | ||
const updatedPr = await github.rest.pulls.get({ | ||
owner, | ||
repo, | ||
pull_number: prNumber | ||
}); | ||
const updatedLabels = updatedPr.data.labels.map(label => label.name); | ||
const updatedHasDocsRequired = updatedLabels.includes('docs required'); | ||
const updatedHasDocsShipped = updatedLabels.includes('docs shipped'); | ||
// Block PR if "docs required" is still present and "docs shipped" is missing | ||
if (updatedHasDocsRequired && !updatedHasDocsShipped) { | ||
core.setFailed("This PR requires documentation. Please remove the 'docs required' label and add the 'docs shipped' label to proceed."); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Jest Coverage - changed files | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: "refs/heads/main" | ||
token: ${{ secrets.GITHUB_TOKEN }} # Provide the GitHub token for authentication | ||
|
||
- name: Fetch branch | ||
run: git fetch origin ${{ github.event.pull_request.head.ref }} | ||
|
||
- run: | | ||
git checkout ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: Install dependencies | ||
run: cd frontend && npm install -g yarn && yarn | ||
|
||
- name: npm run test:changedsince | ||
run: cd frontend && npm run i18n:generate-hash && npm run test:changedsince |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
paths: | ||
- 'frontend/**' | ||
defaults: | ||
|
Oops, something went wrong.