Skip to content

Conversation

oliveromahony
Copy link
Contributor

@oliveromahony oliveromahony commented Aug 10, 2023

Proposed changes

Added support for NGINX Plus API version 9

Added new workers metrics /api/9/workers

[
  {
    "id": 0,
    "pid": 13,
    "connections": {
      "accepted": 81,
      "dropped": 0,
      "active": 1,
      "idle": 0
    },
    "http": {
      "requests": {
        "total": 100,
        "current": 1
      }
    }
  },
  {
    "id": 1,
    "pid": 8,
    "connections": {
      "accepted": 81,
      "dropped": 0,
      "active": 0,
      "idle": 0
    },
    "http": {
      "requests": {
        "total": 201,
        "current": 0
      }
    }
  },
  {
    "id": 2,
    "pid": 9,
    "connections": {
      "accepted": 82,
      "dropped": 0,
      "active": 0,
      "idle": 0
    },
    "http": {
      "requests": {
        "total": 119,
        "current": 0
      }
    }
  },
  {
    "id": 3,
    "pid": 10,
    "connections": {
      "accepted": 82,
      "dropped": 0,
      "active": 0,
      "idle": 0
    },
    "http": {
      "requests": {
        "total": 143,
        "current": 0
      }
    }
  },
  {
    "id": 4,
    "pid": 11,
    "connections": {
      "accepted": 81,
      "dropped": 0,
      "active": 0,
      "idle": 0
    },
    "http": {
      "requests": {
        "total": 156,
        "current": 0
      }
    }
  }
]

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@oliveromahony oliveromahony requested a review from a team as a code owner August 10, 2023 13:07
@github-actions github-actions bot added the tests Pull requests that update tests label Aug 10, 2023
@oliveromahony oliveromahony changed the title Draft: added version 9 of API and new worker metrics Added version 9 of API and new worker metrics Aug 15, 2023
oliveromahony and others added 4 commits August 15, 2023 18:00
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](goreleaser/goreleaser-action@336e299...3fa32b8)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@fac708d...93397be)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@1360a34...7d90b4f)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions github-actions bot added the documentation Pull requests/issues for documentation label Aug 24, 2023
@lucacome lucacome merged commit 80901b0 into nginx:main Aug 24, 2023
@lucacome lucacome added the enhancement Pull requests for new features/feature enhancements label Aug 24, 2023
@oliveromahony oliveromahony deleted the api-9 branch August 28, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests/issues for documentation enhancement Pull requests for new features/feature enhancements tests Pull requests that update tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants