Skip to content

Commit 5da69a2

Browse files
committed
change style
1 parent 87e771f commit 5da69a2

File tree

3 files changed

+33
-11
lines changed

3 files changed

+33
-11
lines changed

app/charts/GrafanaEventChart.tsx

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,30 +108,51 @@ const TimeSeries = (uid, parsedName, graphType, timeFrame) => {
108108
}
109109

110110
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+
</>
112115
}
113116

114117
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+
</>
116122
}
117123

118124
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+
</>
120129
}
121130

122131
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+
</>
124136
}
125137

126138
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+
</>
128143
}
129144

130145
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+
</>
132150
}
133151

134152
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+
</>
136157
}
137158
export default GrafanaEventChart;

app/stylesheets/Inspect.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ h2 {
22
display: flex;
33
justify-content: center;
44
align-items: center;
5+
opacity: 0.7;
56
}
67

78
#graph {

chronos_npm_package/server/output.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ size,path
22
"",Namespace: default
33
"",Namespace: default/Service: grafana/Pod: grafana-85d768d55b-jkr84
44
"",Namespace: default/Service: grafana
5-
"",Namespace: default/Service: frontend/Pod: nginx-frontend-55b44fbc7-mzbp2
6-
"",Namespace: default/Service: frontend/Pod: nginx-frontend-55b44fbc7-vmxpm
5+
"",Namespace: default/Service: frontend/Pod: nginx-frontend-55b44fbc7-9b8k8
6+
"",Namespace: default/Service: frontend/Pod: nginx-frontend-55b44fbc7-n2x6n
77
"",Namespace: default/Service: frontend
8-
"",Namespace: default/Service: backend/Pod: node-backend-d597768c-944xr
8+
"",Namespace: default/Service: backend/Pod: node-backend-d597768c-6zm5j
99
"",Namespace: default/Service: backend
10-
"",Namespace: default/Service: prometheus-service/Pod: prometheus-deployment-96898bbc9-2jp9j
10+
"",Namespace: default/Service: prometheus-service/Pod: prometheus-deployment-96898bbc9-2nlj2
1111
"",Namespace: default/Service: prometheus-service

0 commit comments

Comments
 (0)