-
Notifications
You must be signed in to change notification settings - Fork 251
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
Component Model contains metric spec #226
Comments
I don't get the question. Could you provide more examples on the problems? |
ref #153, i.e. Developer has opinion to Traits /cc @technosophos |
@barnettZQG is the idea that components would define the output format of metric data, or the inverse, where a component can specify an endpoint to consume metric data in a specific format? |
I agree that first one is important, but both metric format and the endpoint are needed. Then the external service can collect the metrics automatically from the given component. |
@hongchaodeng @vturecek However, for some resource metrics, such as memory, CPU, etc., only the component definition needs to be enabled for collection. Data is typically obtained by an external platform such as Kubernetes. and so. The monitoring metrics section defined in the component model might look like this:
|
Great! Thanks for explanation! In the ComponentSchematic type, the parameters section is the place to define those dev input. |
We have been working on the definition and implementation of the application specification, and we are very excited to find Like-minded organization.
Here's a question we're thinking about and discuss it with you.
For components, each component can have its own resource-layer-common and business-layer-customized monitoring metrics. There is a consensus in cloud-native systems to define metric based on the Prometheus specification. Components should be allowed to define endpoints of their own exposure metrics. The platform layer's metrics servers can be unitedly collected and applied to components of automated operations processes, such as automatic scaling and monitoring visualization.
Such as:
The text was updated successfully, but these errors were encountered: