Commit 31c52d4
committed
feat: add namespace bar to monitoring-plugin
refactor: remove most references to the dev perspective
refactor: expose multiple entrypoints in same module
feat: add monitoring context and use module exports in extensions
refactor: swap to fully using plugin specific store
reactor: dereference plugin value from context
fix: change chunks and variable names to reference deployment operator
feat: update store to not be dependant on perspective
fix: remove React.useContext calls after rebase
fix: update package-lock.json by running `npm install` after rebase
fix: remove hook from non-react function call
fix: rename symbol to avoid clashing with console store
fix: add optional chaining to state retrieval
This keeps the type definition, but also allows for early bailout
fix: return array in "silenceAlerts" function to avoid directly mutating
data
fix: set silences as loaded after when setting data
fix: remove destructuring on undefined object
fix: match store defintion to how data is being set
fix: type queryBroweserTable correctly
fix: type query structure correctly
fix: remove data dereference on silences object
fix: remove react package from perses components
fix: memoize options
fix: manually filter alerts since all are returned from API
fix: clear queries when changing namespaces
fix: create useDeepMemo hook which memoized only after deeply comparing,
not shallowly comparing
this fixes an issue where [] is not []
fix: use tennancy path where it is appropriate and prevent where it
isn't
fix: some more optional chaining
refactor: move context pulling into a custom hook
refactor: change refetchSilences to refetchSilencesAndAlerts to be more
accurate
refactor: remove immutable.js in favor of immer
refactor: add datasource layer to plugin store to support multiple
datasources
refactor: add undefined typing to dynamic keys, and manually check in
produce function
refactor: remove top level optional chaining
fix: queryBrowserPatchQueryHelper to merge index and patch when needed
fix: optional chaining in metrics page
refactor: remove perspective from dashboards store
fix: only query tenancy path when not in "all namespaces"
fix: if the namespace is all_ns, then remove it from the query params to
prometheus
fix: remove unused reducer and store parameter, force all values to not
be optional
fix: setting series to undefined
fix: remove perspective variable from dashboard reducer calls
feat: add namespace bar to create/edit silence pages
fix: remove dereferencing undefined object
fix: change to equal matcher for namespace
fix: remove refetching loop
refactor: remove unneeded lodash usage for javascript array functions
fix: use namespace hook
refactor: rename data to rules
fix: only show namespace bar on pages where it is set explicitly
Since incidents isn't namespaced we should hide the namespace bar when
on that page
refactor: move retrieving alerts into the useAlerts hook
refactor: rename variables to make usage more clear
fix: updating the url causes the component to unmount then remount
fix: use prometheus context in query-browser for metrics graph in acm
alerting pages
fix: create new array to avoid in place sorting
feat: remove all prometheus flag from being required
fix: add more specific key
finish rebase
feat: remove dev perspective pages
fix: typing + comment
fix: add virt url's to the list which should show the namespace dropdown
feat: remove flag requirements to allow all users to see monitoring
pages
fix: incidents alert rule links
fix: query browser disabled series selection
fix: only override variable info being patched
fix: dev perspective dashboard variables
fix: casting undefined and null as string, make the store and the
reducer take a number instead
fix: clear alerts when changing NS to always have fresh data
fix: stabilize props and store
fix: set load error for alerts and silences1 parent 8652b83 commit 31c52d4
File tree
68 files changed
+2807
-2271
lines changed- config
- web
- src
- components
- Incidents
- AlertsChart
- IncidentsChart
- alerting
- console
- graphs
- utils
- dashboards
- legacy
- perses
- project
- hooks
- metrics
- contexts
- hooks
- reducers
- store
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
68 files changed
+2807
-2271
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
85 | | - | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 76 | + | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
0 commit comments