What Grafana version and what operating system are you using? v7.3.4
What are you trying to achieve? Viewing data metrics
How are you trying to achieve it? Using Prometheus
What happened? While configuring dashboard it throws an error
What did you expect to happen? Work
Can you copy/paste the configuration(s) that you are having problems with?
Error Updating Option: e.replace is not a function
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Did you follow any online instructions? If so, what is the URL?
welcome @venkateshprabhugs !
This sounds like a potential bug or a browser issue, it’s hard to tell. Some additional information is going to be needed. Could you send a screenshot of what you’re seeing? More specifically, Error Updating Option: e.replace is not a function
sounds like a javascript error and it would help to know if you’re seeing this in the browser console or on the page, and what aspect you’re configuring when this takes place.
Hello @davidallen5 ,
please find the below image for your reference,
Sorry, this looks like it has been a bug existing for some time. It is tracked but not active here. I will ask around to see if it’s possible to re-open.
opened 08:17PM - 23 Jun 20 UTC
closed 06:34AM - 09 Aug 20 UTC
needs more info
<!--
Please use this template to create your bug report. By providing as much i… nfo as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefor take a couple of extra minutes to make sure you have provided all info needed.
PROTIP: record your screen and attach it as a gif to showcase the issue.
* Questions should be posted to: https://community.grafana.com
* Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
* How to record and attach gif: https://bit.ly/2Mi8T6K
-->
**What happened**:
2x Panels using the singlestat visualization (with very similar queries) in a dashboard is blank with Red ! saying e.replace is not a function. I do see this from time to time on other Line graph panels also.
(not always but does a few times a day when dashboard is on a 5m auto refresh)
**almost always, reloading the page (via chorme) will then get the error-ed graph to show**
(also when i click on the red ! to get the Query explorer, all data is correct and no nulls)
**Here is the query explorer output and the POST request:**
https://pastebin.com/W8KnMWmn
What Grafana version are you using?
7.0.3
What datasource are you using?
Graphite v0.9.12
**Full Error (chrome inspector on windows 10) :**
react-dom.production.min.js:196
TypeError: e.replace is not a function
at e.value (template_srv.ts:327)
at e.value (PanelModel.ts:481)
at z (fieldDisplay.ts:198)
at x (fieldDisplay.ts:195)
at I (fieldDisplay.ts:116)
at Object.n.getValues (StatPanel.tsx:84)
at t.value (VizRepeater.tsx:63)
at mc (react-dom.production.min.js:251)
at KqkS.t.unstable_runWithPriority (scheduler.production.min.js:18)
at Wo (react-dom.production.min.js:120)
fu @ vendors~app.d3489276abe5fda2bd26.js:2
not sure if this helps, but here is SS of the full query:
![image](https://user-images.githubusercontent.com/60830628/85455634-b9187900-b563-11ea-9dbb-59b7ba353088.png)
**Anything else we need to know?**:
**Environment**:
- Grafana version: 7.0.3
- Data source type & version: Graphite v0.9.12
- OS Grafana is installed on:
# lsb_release -a
Description: Debian GNU/Linux 8.11 (jessie)
Release: 8.11
Codename: jessie
- User OS & Browser:
Chrome: 81.0.4044.138 Win10
- Grafana plugins:
Carpetmap (but not used)
- Others:
please let me know anything else i can provide to help. thanks
I think the issue with inability to make progress on this bug is that the engineering team needs a replication case.
Would it be possible for you to state the step-by-step directions necessary to help replicate this so it can be investigated?
i have followed the below document for configuring grafana,
In this blog, we will monitor the AWS EC2 instances using Prometheus and visualize the dashboard using Grafana.
Est. reading time: 8 minutes