@@ -108,30 +108,51 @@ const TimeSeries = (uid, parsedName, graphType, timeFrame) => {
108
108
}
109
109
110
110
const BarChart = ( uid , parsedName , graphType , timeFrame ) => {
111
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
111
+ < >
112
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
113
+ < hr />
114
+ </ >
112
115
}
113
116
114
117
const Stat = ( uid , parsedName , graphType , timeFrame ) => {
115
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
118
+ < >
119
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
120
+ < hr />
121
+ </ >
116
122
}
117
123
118
124
const Gauge = ( uid , parsedName , graphType , timeFrame ) => {
119
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
125
+ < >
126
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
127
+ < hr />
128
+ </ >
120
129
}
121
130
122
131
const Table = ( uid , parsedName , graphType , timeFrame ) => {
123
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
132
+ < >
133
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
134
+ < hr />
135
+ </ >
124
136
}
125
137
126
138
const Histogram = ( uid , parsedName , graphType , timeFrame ) => {
127
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
139
+ < >
140
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
141
+ < hr />
142
+ </ >
128
143
}
129
144
130
145
const PieChart = ( uid , parsedName , graphType , timeFrame ) => {
131
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
146
+ < >
147
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
148
+ < hr />
149
+ </ >
132
150
}
133
151
134
152
const AlertList = ( uid , parsedName , graphType , timeFrame ) => {
135
- return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
153
+ < >
154
+ return < iframe src = { `http://localhost:32000/d-solo/${ uid } /${ parsedName } ?orgId=1&refresh=10s&from=now-${ timeFrame } &to=now&panelId=1${ graphType } ` } width = "800" height = "500" > </ iframe >
155
+ < hr />
156
+ </ >
136
157
}
137
158
export default GrafanaEventChart ;
0 commit comments