chickenlj opened a new issue, #107:
URL: https://github.com/apache/dubbo-kubernetes/issues/107
By requesting `/metrics/metadata`, we can get the backend Grafana service
address and then set it as the Iframe url.
The front page is currently `ServiceMetrics` and should be something like:
```vue
<template>
<v-container grid-list-xl fluid>
<v-layout row wrap>
<v-flex>
<iframe
src="http:metadata.grafanaAdress/dashboard-solo/new?utm_source=grafana_gettingstarted&orgId=1&from=1684139950126&to=1684161550126&panelId=1"
width="1350" height="700" frameborder="0"></iframe>
</v-flex>
</v-layout>
</v-container>
</template>
<script>
import Material from 'vuetify/es5/util/colors'
export default {
name: 'ServiceMetrics'
components: {
Breadcrumb,
Search
},
data () {
return {
breads: [
{
text: 'metrics',
href: ''
}
],
metadata: [],
}
},
methods: {
getMetadata () {
this.$axios.get('/metrics/metadata').then(response => {
console.log(response)
})
},
},
mounted: function () {
this.getMetadata();
}
}
</script>
<style scoped>
.echarts {
width: 105%;
height: 68px;
}
</style>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]