brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Persistence hardening - creates c...
Date Thu, 13 Nov 2014 04:12:13 GMT
Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/314#issuecomment-62839318
  
    Here is a sample of metrics which you can get from `/v1/server/ha/metrics/` btw:
    
    ```
    {
      "state": "HOT_BACKUP",
      "uptime": "3m 1s",
      "currentTimeUtc": 1415849932119,
      "startTimeUtc": 1415849750199,
      "highAvailability": {
        "priority": 0,
        "pollPeriod": 1000,
        "heartbeatTimeout": 30000,
        "history": [
          { "state": "HOT_BACKUP",
            "timestamp": 1415849753591
          },
          { "state": "HOT_BACKUP",
            "timestamp": 1415849753551
          }
        ]
      },
      "rebind": {
        "count": 58,
        "lastSuccessTimeUtc": 1415849932045,
        "lastSuccessTimeMillisSince": 74,
        "lastDuration": 75,
        "failureCount": 110,
        "lastFailureTimeUtc": 1415849925572,
        "lastFailureTimeMillisSince": 6547,
        "errorMessages": [{
            "error": [
              "brooklyn.util.exceptions.PropagatedRuntimeException: Failure rebinding: Too
many dangling references: 6 of 10",
              "No enricher found with id NBJrXNOH; returning null",
              ...
              "Dangling items (6 of 10) found on rebind exceeds quorum, assuming failed: [ZSf8D8qH,
QxhnTlzP, NBJrXNOH, QWZ1gHjQ, l8CgpwR4, A5WN9d0j]"
            ],
            "timestamp": 1415849925572
          },{
            "error": [ ... ],
            "timestamp": 1415849924521
          }
        ]
      },
      "persist": {
        "count": 0,
        "lastSuccessTimeUtc": null,
        "lastSuccessTimeMillisSince": null,
        "lastDuration": null,
        "failureCount": 0,
        "lastFailureTimeUtc": null,
        "lastFailureTimeMillisSince": null,
        "errorMessages": []
      },
      "firstRebindCounts": {
        "applications": 1,
        "entities": 2,
        "allItems": 10
      },
      "managementStatePersistence": {
        "read": {
          "count": 180,
          "failureCount": 0,
          "lastSuccessTime": 1415849931970,
          "lastDuration": 2,
          "lastFailureTime": null,
          "errorMessages": []
        },
        "write": {
          "count": 179,
          "failureCount": 0,
          "lastSuccessTime": 1415849931968,
          "lastDuration": 0,
          "lastFailureTime": null,
          "errorMessages": []
        }
      }
    }
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message