-
Notifications
You must be signed in to change notification settings - Fork 203
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
[rqd] [cuegui] Add support for Loki for frame logs #1577
base: master
Are you sure you want to change the base?
Changes from 56 commits
3a00739
0feaaa3
67d93a4
34bb230
ed66ee5
ab8f16c
6abc9b0
7c847e4
c47d926
7ca5065
ea93517
5f31cf6
f72c194
154f45c
8215b28
c53673a
7e5bfc8
a72b116
a1327af
ee25f0f
fd7f111
a957703
424687e
ec68dcd
3b7f479
eeb80ca
495f134
daf0232
ab06d5b
b313e55
6070bfd
d6d882a
c9c3b26
f7e79e6
1066e97
6e6bf3e
28f3cdd
0417051
204be81
05e0d02
fda4f0d
0ffff4d
1539db9
497136d
dd8437a
d5f5903
3df6774
83438f0
23b4db1
83995bd
21f0157
f1b2ad6
32d0787
5b62826
588fc9e
1363010
f00f17a
01f3870
f5ec53b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.3 | ||
1.4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,5 +59,8 @@ public class JobDetail extends JobEntity implements JobInterface, DepartmentInte | |
public String getDepartmentId() { | ||
return deptId; | ||
} | ||
|
||
public Boolean logLokiEnabled; | ||
public String logLokiURL; | ||
Comment on lines
+65
to
+66
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
alter table job | ||
add b_loki_enabled bool; | ||
|
||
alter table job | ||
add str_loki_url varchar(256); | ||
Comment on lines
+1
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not completely sold on the idea of every job having these set. I agree runFrame is the best place to communicate this value from cuebot to rqd, but having to store this on the job table doesn't make too much sense to me.
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,10 @@ log.frame-log-root.default_os=${CUE_FRAME_LOG_DIR:/shots} | |
# are planning to use a folder in the root, use: | ||
# - log.frame-log-root.Windows=${S:} | ||
|
||
# Loki | ||
log.loki.enabled=false | ||
log.loki.url=http://localhost/loki/api | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please elaborate on the docs here. I would add:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have added small description. Will add general Loki documentaion on opencue.io |
||
|
||
# Maximum number of jobs to query. | ||
dispatcher.job_query_max=20 | ||
# Number of seconds before waiting to book the same job from a different host. | ||
|
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.
Please add a comment explaining what what they are and where they are being set
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.
done