consol / springboot-monitoring-example Goto Github PK
View Code? Open in Web Editor NEWSimple SpringBoot application with Prometheus metrics
Simple SpringBoot application with Prometheus metrics
Hi, I am trying to deploy this example to Openshift and getting into some issues.
First I got an error executing the command
oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole.yaml -p NAMESPACE=prometheus
It got resolved by changing the following in 'prometheus3.7_with_clusterrole.yaml'
#apiVersion: template.openshift.io/v1
apiVersion: v1
now when I try to do the
C:\Softwares\openshift-origin-client>oc new-app -f C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole.
yaml -p NAMESPACE=prometheus
--> Deploying template "prometheus/prometheus" for "C://springboot-monitoring-example//templates//prometheus3.7_with_clusterrole
.yaml" to project prometheus
Prometheus
---------
A monitoring solution for an OpenShift cluster - collect and gather metrics
and alerts from nodes, services, and the infrastructure. This is a tech preview
feature.
* With parameters:
* NAMESPACE=prometheus
* IMAGE_PROXY=openshift/oauth-proxy:v1.0.0
* IMAGE_PROMETHEUS=openshift/prometheus:v2.0.0
* IMAGE_ALERTMANAGER=openshift/prometheus-alertmanager:v0.9.1
* IMAGE_ALERT_BUFFER=openshift/prometheus-alert-buffer:v0.0.2
* SESSION_SECRET=RkveeKbjp2UofPxk60QokCNf7KoinUkYqa7tQb0ng5E # generated
error: object does not implement the Object interfaces
Please advise and thanks in advance!
Did not work on OCP 3.11.
https://labs.consol.de/development/2018/01/19/openshift_application_monitoring.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.