-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: store metrics in a dedicated repository #1047
Conversation
e7c30aa
to
ef81861
Compare
a32a18c
to
d1acf9c
Compare
0f6a784
to
320c925
Compare
0cfd900
to
bacb7f4
Compare
core/src/main/java/io/kestra/core/repositories/MetricRepositoryInterface.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/kestra/core/models/executions/TaskRunAttempt.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/kestra/core/models/executions/AbstractMetricEntry.java
Outdated
Show resolved
Hide resolved
@@ -23,7 +24,7 @@ | |||
@JsonSubTypes.Type(value = Timer.class, name = "timer"), | |||
}) | |||
@ToString | |||
@EqualsAndHashCode | |||
@EqualsAndHashCode(exclude="creationTime") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be too magical, maybe have a proper method compare instead of really on equals
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it the purpose of Lombok to provide magical highly productive trick ?
core/src/main/java/io/kestra/core/queues/QueueFactoryInterface.java
Outdated
Show resolved
Hide resolved
da34774
to
0822cc8
Compare
Warning, if #1076 is merged before the name of the migration must be updated! |
Will be usefull for the next steps on metric usage
No description provided.