Alerting: update rule versions on folder move (#88376)
* Alerting: update rule versions on folder move (#88361) * Add tracing to folder.Move and folder.Update
This commit is contained in:
@@ -71,10 +71,13 @@ type DataSourceCreated struct {
|
||||
OrgID int64 `json:"org_id"`
|
||||
}
|
||||
|
||||
type FolderTitleUpdated struct {
|
||||
// FolderFullPathUpdated is emitted when the full path of the folder(s) is updated.
|
||||
// For example, when the folder is renamed or moved to another folder.
|
||||
// It does not contain the full path of the folders because calculating
|
||||
// it requires more resources and not needed in the event at the moment.
|
||||
type FolderFullPathUpdated struct {
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Title string `json:"name"`
|
||||
ID int64 `json:"id"`
|
||||
UID string `json:"uid"`
|
||||
UIDs []string `json:"uids"`
|
||||
OrgID int64 `json:"org_id"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user