Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove coreos-operator dependancy #19

Merged
merged 6 commits into from
Nov 14, 2017
Merged

remove coreos-operator dependancy #19

merged 6 commits into from
Nov 14, 2017

Conversation

krasi-georgiev
Copy link
Contributor

@krasi-georgiev krasi-georgiev commented Nov 10, 2017

TODO:

  • change the openshift configs
  • update all README.md files

@objectiser
Copy link
Owner

@krasi-georgiev Wasn't sure if you meant me to try it out yet, or still work in progress - but gave it a quick try. Looks good - got the results in prom, although for some reason the jaeger UI just spins, nothing to do with your PR.

Before doing the final PR, I think it would be good to change the label "frontend" to something more meaningful - I think that was just a name prom-operator used in their example. It just needs to be something metric related I guess.

@krasi-georgiev
Copy link
Contributor Author

Great I will continue with openshift and will replace the label.

@krasi-georgiev
Copy link
Contributor Author

all done , I tested both just to make sure.

The jaeger UI worked once and than it gets stuck at the spinning circle.
I can see in the google dev tools that the data is there but the ui doesn't render it and I only found this issue which seems to be the solution.
jaegertracing/jaeger-ui#115

Kubernetes.md Outdated
```

Add configuration to locate service monitors based on label "team: frontend":
Add configuration to locate service monitors based on label "scrape: true":
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "locate services to be monitored based..."

OpenShift.md Outdated
To obtain metrics from the deployed services, we will use the
[coreos prometheus operator](https://coreos.com/operators/prometheus/docs/latest/user-guides/getting-started.html)
project. To install, use the following command:
Add configuration to locate service monitors based on label "scrape: true":
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above (for k8s)


NOTE: The alpha version is currently required, as the previous stable version does not include Kubernetes RBAC authorizaion
support.

When fully started, then launch the dashboard using the link displayed following `The server is accessible via web console at:
`. Log in using the credentials `developer/developer` and navigate to the `New Project` overview page.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next line contains "Kubernetes", could you change this to "OpenShift" - looks like I missed that (copy/paste) :)

@objectiser
Copy link
Owner

@krasi-georgiev Great job - just a few minor comments.

However the main issue is that the metrics scraped by prometheus, vs prom-operator, are lacking labels for "service", "pod" and "namespace".

There is an 'instance' label - but that doesn't seem to be specific to the individual pod - so if we have multiple instances of a particular service, there is no way to determine which instance actually executed the request,

Even more important is 'service' (and 'namespace' to a less extent).

Any ideas of how these labels could be added in, without the application/service itself including them into the metrics?

Copy link
Owner

@objectiser objectiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@objectiser objectiser merged commit db59bbf into objectiser:master Nov 14, 2017
@krasi-georgiev krasi-georgiev deleted the remove-coreos-operator branch November 14, 2017 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants