Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(example): correct docs when metrics got result empty #2309

Merged
merged 5 commits into from
Nov 8, 2022

Conversation

hungran
Copy link
Contributor

@hungran hungran commented Oct 11, 2022

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

dependabot bot and others added 2 commits October 11, 2022 11:48
Bumps [github.com/newrelic/newrelic-client-go](https://github.com/newrelic/newrelic-client-go) from 0.86.5 to 1.0.0.
- [Release notes](https://github.com/newrelic/newrelic-client-go/releases)
- [Changelog](https://github.com/newrelic/newrelic-client-go/blob/main/CHANGELOG.md)
- [Commits](newrelic/newrelic-client-go@v0.86.5...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/newrelic/newrelic-client-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: hungran <[email protected]>
@hungran hungran changed the title fix: correct docs when metrics got result empty fix(docs): correct docs when metrics got result empty Oct 11, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2022

Go Published Test Results

1 791 tests   1 791 ✔️  2m 31s ⏱️
   101 suites         0 💤
       1 files           0

Results for commit 4c77fa7.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Base: 81.54% // Head: 82.76% // Increases project coverage by +1.22% 🎉

Coverage data is based on head (a3b7ad6) compared to base (75b7a6e).
Patch has no changes to coverable lines.

❗ Current head a3b7ad6 differs from pull request most recent head 4c77fa7. Consider uploading reports for the commit 4c77fa7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2309      +/-   ##
==========================================
+ Coverage   81.54%   82.76%   +1.22%     
==========================================
  Files         123      121       -2     
  Lines       18870    18536     -334     
==========================================
- Hits        15387    15341      -46     
+ Misses       2696     2410     -286     
+ Partials      787      785       -2     
Impacted Files Coverage Δ
utils/template/template.go 100.00% <0.00%> (ø)
server/server.go
server/server_static.go

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2022

E2E Tests Published Test Results

    2 files      2 suites   1h 32m 53s ⏱️
  89 tests   84 ✔️ 3 💤 2
180 runs  172 ✔️ 6 💤 2

For more details on these failures, see this check.

Results for commit 4c77fa7.

♻️ This comment has been updated with latest results.

@iam-veeramalla
Copy link
Member

Hi @hungran, This PR is also upgrading the versions in go.mod and go.sum, I think it is not intended. Can you PTAL and rebase the PR ?

@iam-veeramalla iam-veeramalla added the docs Needs documentation/release notes label Oct 18, 2022
@hungran hungran closed this Oct 21, 2022
@hungran hungran reopened this Oct 21, 2022
@hungran hungran changed the title fix(docs): correct docs when metrics got result empty fix(example): correct docs when metrics got result empty Oct 21, 2022
@hungran
Copy link
Contributor Author

hungran commented Oct 27, 2022

Hey @iam-veeramalla thanks for your notice, I made rebase already

Copy link
Member

@iam-veeramalla iam-veeramalla left a comment

Choose a reason for hiding this comment

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

LGTM

@iam-veeramalla iam-veeramalla added the ready-for-review Ready for final review label Oct 27, 2022
@sonarcloud
Copy link

sonarcloud bot commented Nov 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.0% 1.0% Duplication

@zachaller zachaller merged commit 97ed6de into argoproj:master Nov 8, 2022
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 8, 2022
* chore(deps): bump github.com/newrelic/newrelic-client-go (argoproj#2267)

Bumps [github.com/newrelic/newrelic-client-go](https://github.com/newrelic/newrelic-client-go) from 0.86.5 to 1.0.0.
- [Release notes](https://github.com/newrelic/newrelic-client-go/releases)
- [Changelog](https://github.com/newrelic/newrelic-client-go/blob/main/CHANGELOG.md)
- [Commits](newrelic/newrelic-client-go@v0.86.5...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/newrelic/newrelic-client-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: hungran <[email protected]>

* fix: correct docs when metrics got result empty

Signed-off-by: hungran <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: hungran <[email protected]>
Signed-off-by: zachaller <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zachaller <[email protected]>
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 26, 2022
* chore(deps): bump github.com/newrelic/newrelic-client-go (argoproj#2267)

Bumps [github.com/newrelic/newrelic-client-go](https://github.com/newrelic/newrelic-client-go) from 0.86.5 to 1.0.0.
- [Release notes](https://github.com/newrelic/newrelic-client-go/releases)
- [Changelog](https://github.com/newrelic/newrelic-client-go/blob/main/CHANGELOG.md)
- [Commits](newrelic/newrelic-client-go@v0.86.5...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/newrelic/newrelic-client-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: hungran <[email protected]>

* fix: correct docs when metrics got result empty

Signed-off-by: hungran <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: hungran <[email protected]>
Signed-off-by: zachaller <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zachaller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Needs documentation/release notes ready-for-review Ready for final review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants