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

Explorer Error "Unexpected field length" only with more than one host #1150

Closed
mjtrangoni opened this issue Feb 2, 2021 · 1 comment
Closed
Labels
Milestone

Comments

@mjtrangoni
Copy link
Contributor

mjtrangoni commented Feb 2, 2021

Hi @alexanderzobnin,

I was using the Grafana explorer and I am facing this issue when querying more than one Host (Regex: /.*/).
With only one host this does not happened at all! And also trying it many times has a rare one time successful response after many tries.

On a successful response I see this warning on explore too,

The keyword 'inner-spin-button' specified to an 'appearance' property is not standardized. It will be removed in the future.

Let me know if you need more information.

Expected behavior
To return Zabbix Data without crashing for more than one host

Screenshots
Not applicable.

Network data
Explorer query:

{"datasourceId":2,"method":"history.get","params":{"output":"extend","history":"3","itemids":["162257","40721","40651","40686","40756","162352","162387"],"sortfield":"clock","sortorder":"ASC","time_from":1612276691,"time_till":1612280291}}

Console Error:

datasource.ts:175 Converting response to the wide format
responseHandler.ts:189 Data frames: adding missing points
datasource.ts:175 Converting response to the wide format
actions.ts:524 Error: Unexpected field length
    at a (flotPairs.ts:19)
    at l (getGraphSeriesModel.ts:60)
    at t.T [as project] (decorators.ts:89)
    at t._next (map.js:35)
    at t.next (Subscriber.js:53)
    at t._next (map.js:41)
    at t.next (Subscriber.js:53)
    at t._next (map.js:41)
    at t.next (Subscriber.js:53)
    at t.notifyNext (mergeMap.js:85)

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
7.3.7 4.2.8 4.1.2
@alexanderzobnin
Copy link
Collaborator

Yes, confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants