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

Create panduit-pdu-dashboard.json #1831

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lindhorstdfca
Copy link
Contributor

@lindhorstdfca lindhorstdfca commented Dec 19, 2024

Relevant information

Added support for Panduit PDU's that are pulled in from Kentik
https://github.com/kentik/snmp-profiles/blob/main/profiles/kentik_snmp/panduit/panduit_pdu.yml

Checklist

  • I've read the guidelines and understand the acceptance criteria.
  • The value of the attribute marked as identifier will be unique and valid.
  • I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

Copy link

@entityBot entityBot left a comment

Choose a reason for hiding this comment

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

beep boop bop.

I have found some errors processing these changes:

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT sum(timeSinceBufferBegin) / sum(timeSinceLastHeartbeat) - filter(sum(timeSincePaused), where actionName = 'CONTENT_RESUME' - filter(sum(timeSinceSeekBegin), where actionName = 'CONTENT_SEEK_END')) * 100 FROM VideoAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: The select clause cannot be used to produce a valid golden metric.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT sum(timeSinceAdBufferBegin) / sum(timeSinceLastAdHeartbeat) - filter(sum(timeSinceAdPaused), where actionName = 'AD_RESUME' - filter(sum(timeSinceAdSeekBegin), where actionName = 'AD_SEEK_END')) * 100 FROM VideoAdAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: The select clause cannot be used to produce a valid golden metric.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'CONENT_ERROR' and contentPlayhead = 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_START' and contentPlayhead=0) * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'CONENT_ERROR' and contentPlayhead = 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_START' and contentPlayhead=0) * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 17, unexpected 'WHERE'

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'count(*) WHERE actionName = 'CONENT_ERROR' and contentPlayhead = 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_START' and contentPlayhead=0) * 100' - Exception: The NRQL validator was not able to parse the selection.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'AD_ERROR' and adPlayhead = 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'AD_ERROR' and adPlayhead = 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 17, unexpected 'WHERE'

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'count(*) WHERE actionName = 'AD_ERROR' and adPlayhead = 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_START' and adPlayhead = 0) * 100' - Exception: The NRQL validator was not able to parse the selection.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 17, unexpected 'WHERE'

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'count(*) WHERE actionName = 'CONTENT_ERROR' and contentPlayhead > 0 / (FROM VideoAction SELECT count(*) WHERE actionName = 'CONENT_REQUEST') * 100' - Exception: The NRQL validator was not able to parse the selection.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'AD_ERROR' and adPlayhead > 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'SELECT count(*) WHERE actionName = 'AD_ERROR' and adPlayhead > 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') * 100 FROM VideoErrorAction WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 17, unexpected 'WHERE'

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Golden metrics for key 'count(*) WHERE actionName = 'AD_ERROR' and adPlayhead > 0 / (FROM VideoAdAction SELECT count(*) WHERE actionName = 'AD_REQUEST') * 100' - Exception: The NRQL validator was not able to parse the selection.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Summary metrics for key ''averageBitrateMbps': wrong golden metric reference. Couldn't find a golden metric definition with key 'averageBitrateMbps', please populate 'goldenMetric' with a valid reference to an existing golden metric.' - Exception: 'averageBitrateMbps': wrong golden metric reference. Couldn't find a golden metric definition with key 'averageBitrateMbps', please populate 'goldenMetric' with a valid reference to an existing golden metric.

* Error VALIDATING domainType: 'MEDIA_STREAMING-VIDEO' on Summary metrics for key ''adAverageBitrateMbps': wrong golden metric reference. Couldn't find a golden metric definition with key 'adAverageBitrateMbps', please populate 'goldenMetric' with a valid reference to an existing golden metric.' - Exception: 'adAverageBitrateMbps': wrong golden metric reference. Couldn't find a golden metric definition with key 'adAverageBitrateMbps', please populate 'goldenMetric' with a valid reference to an existing golden metric.

@CLAassistant
Copy link

CLAassistant commented Dec 19, 2024

CLA assistant check
All committers have signed the CLA.

@otaviocarvalho
Copy link
Contributor

Please review the dashboard format:

../prcode/entity-types/ext-pdu/panduit-pdu-dashboard.json invalid
[
  {
    "instancePath": "/pages/0/widgets/0/rawConfiguration/nrqlQueries/0",
    "schemaPath": "#/properties/pages/items/anyOf/0/properties/widgets/items/anyOf/0/properties/rawConfiguration/properties/nrqlQueries/items/anyOf/0/required",
    "keyword": "required",
    "params": {
      "missingProperty": "accountId"
    },
    "message": "must have required property 'accountId'"
  },
  {
    "instancePath": "/pages/0/widgets/0/rawConfiguration/nrqlQueries/0",
    "schemaPath": "#/properties/pages/items/anyOf/0/properties/widgets/items/anyOf/0/properties/rawConfiguration/properties/nrqlQueries/items/anyOf",
    "keyword": "anyOf",
    "params": {},
    "message": "must match a schema in anyOf"
  },
  {
    "instancePath": "/pages/0/widgets/0",
    "schemaPath": "#/properties/pages/items/anyOf/0/properties/widgets/items/anyOf",
    "keyword": "anyOf",
    "params": {},
    "message": "must match a schema in anyOf"
  },
  {
    "instancePath": "/pages/0",
    "schemaPath": "#/properties/pages/items/anyOf",
    "keyword": "anyOf",
    "params": {},
    "message": "must match a schema in anyOf"
  }
]

Copy link
Contributor Author

@lindhorstdfca lindhorstdfca left a comment

Choose a reason for hiding this comment

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

Updated to include "accountId": 0

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.

4 participants