Releases: okmeter/grafana
Releases · okmeter/grafana
v9.5.2-02
Changelog
Builds
- initial repository was cloned with currently running version commit:
git clone --depth=1 --branch v9.5.2 https://github.com/grafana/grafana.git
-
switched to
go mod vendor
to avoid long-running builds -
following files and directories were added:
op.Dockerfile
(modified version of original Dockerfile to build both custom grafana backend/frontend)op.mk
and/op-develop
(files required to launch developer environment)
- files that were modified:
- removed
/vendor
from.gitignore
(to use it in Dockerfile) - removed
/.github
to disable github actions and dependencies check - added
/vendor
to.gitattributes
(hide diffs in gitlab mrs)
Code
Added op-pkg
package to both codebase and op.Dockerfile
(require to be copied) with:
- service and store (to mimic internal logic with custom implementations)
- sdk (http sdk with client libraries and middlewares)
- opstorage (opstorage client library made with sdk)
Grafana internal codebase changes
API:
/pkg/api/http_server.go
(added authentication middlewares fromop-pkg/sdk
)/pkg/api/accesscontrol.go
(added required rights for all dashboards and folders forViewer
andEditor
by default)/pkg/server/wire.go
(replaced original services requirements and stores with modified ones fromop-pkg
)
Services and service stores:
/pkg/services/datasources/service/datasource.go
(initial datasource Store implementation replacement)/pkg/services/dashboards/database/database.go
(initial dashboard Store implementation replacement)/pkg/services/folder/folderImpl/dashboard_folder_store.go
(initial dashboard Store implementation replacement)/pkg/services/secrets/manager.go
(changes to use modified version of encryption service fromop-pkg
only)/pkg/services/ngalert/api/util.go
(use op middlewares in alerting service)
Frontend:
/pkg/api/frontendsettings.go
(overrideappURL
andappSubURL
to use dynamic url sub-paths likelocalhost:3000/sub1/sub2.../dashboards
)/pkg/api/index.go
(overrideappURL
andappSubURL
to use dynamic url sub-paths likelocalhost:3000/sub1/sub2.../dashboards
/pkg/services/navtree/navtreeimpl/navtree.go
(disable navigation on alerting page)/packages/grafana-data/src/themes/palette.ts
(add new colorlightGray
)/packages/grafana-data/src/themes/createColors.ts
(overridebackground.canvas
color withlightGray
)/public/app/core/components/AppChrome/AppChrome.tsx
(overridesearchBarHidden
withtrue
, replaceNavToolbar
with actions, add css for actions, disableNavToolbar
andMegaMenu
)/public/app/core/components/PageNew/Page.tsx
(disablepadding
in css)/public/app/features/dashboard/components/DashNav/DashNav.tsx
(overridecanStar
,canShare
andisStarred
withfalse
)/public/app/features/dashboard/components/SaveDashboard/forms/SaveDashboardAsForm.tsx
(disableshowRoot
inFolderPicker
)/public/app/features/alerting/routes.tsx
(removed unnecessary routes:/alerting/ng/list
,/alerting/notifications
,/alerting/notifications/*
,/alerting/notification/*
,/alerting
,/alerting/home
,/alerting/routes*
,/alerting/groups/
)/public/app/features/alerting/unified/RuleList.tsx
(removed button exporturl:/api/v1/provisioning/alert-rules/export
)/public/app/features/alerting/unified/components/rule-editor/AlertRuleForm.tsx
(set type:RuleFormType.cloudAlerting
)/public/app/features/alerting/unified/components/rule-editor/query-and-alert-condition/AlertType.tsx
(setRuleFormType.cloudAlerting
as defaultRuleType)/public/app/features/alerting/unified/components/rule-editor/rule-types/RuleTypePicker.tsx
(disable selectedGrafanaManagedRuleType
)/public/app/features/alerting/unified/components/rule-viewer/RuleViewerVisualization.tsx
(removedview in Explore
button)/public/app/features/alerting/unified/components/rules/RuleActionsButtons.tsx
(removedcopy to clipboard
button)/public/app/features/alerting/unified/components/rules/RuleDetailsActionButtons.tsx
(removedcopy to clipboard
button)/public/app/features/alerting/unified/hooks/useAlertManagerSourceName.ts
(use first available alert manager name)/public/app/features/alerting/unified/utils/datasource.ts
(removegrafanaAlertManagerDataSource
from available datasources)/public/app/features/alerting/unified/utils/rule-form.ts
(removed logic related toRuleFormType.grafana
)/public/app/features/alerting/unified/Home.tsx
(removedWelcomeCTABox
es)/public/app/features/explore/ExploreToolbar.tsx
(hide<AppChromeUpdate actions={[shareButton}}
)/public/app/features/explore/RichHistory/RichHistoryCard.tsx
(hideonCreateShortLink
)
for more details see: OP_CHANGES.md
v9.5.2-01
Changelog
Builds
- initial repository was cloned with currently running version commit:
git clone --depth=1 --branch v9.5.2 https://github.com/grafana/grafana.git
-
switched to
go mod vendor
to avoid long-running builds -
following files and directories were added:
op.Dockerfile
(modified version of original Dockerfile to build both custom grafana backend/frontend)op.mk
and/op-develop
(files required to launch developer environment)
- files that were modified:
- removed
/vendor
from.gitignore
(to use it in Dockerfile) - removed
/.github
to disable github actions and dependencies check - added
/vendor
to.gitattributes
(hide diffs in gitlab mrs)
Code
Added op-pkg
package to both codebase and op.Dockerfile
(require to be copied) with:
- service and store (to mimic internal logic with custom implementations)
- sdk (http sdk with client libraries and middlewares)
- opstorage (opstorage client library made with sdk)
Grafana internal codebase changes
API:
/pkg/api/http_server.go
(added authentication middlewares fromop-pkg/sdk
)/pkg/api/accesscontrol.go
(added required rights for all dashboards and folders forViewer
andEditor
by default)/pkg/server/wire.go
(replaced original services requirements and stores with modified ones fromop-pkg
)
Services and service stores:
/pkg/services/datasources/service/datasource.go
(initial datasource Store implementation replacement)/pkg/services/dashboards/database/database.go
(initial dashboard Store implementation replacement)/pkg/services/folder/folderImpl/dashboard_folder_store.go
(initial dashboard Store implementation replacement)/pkg/services/secrets/manager.go
(changes to use modified version of encryption service fromop-pkg
only)
Frontend:
/pkg/api/frontendsettings.go
(overrideappURL
andappSubURL
to use dynamic url sub-paths likelocalhost:3000/sub1/sub2.../dashboards
)/pkg/api/index.go
(overrideappURL
andappSubURL
to use dynamic url sub-paths likelocalhost:3000/sub1/sub2.../dashboards
packages/grafana-data/src/themes/palette.ts
(add new colorlightGray
)packages/grafana-data/src/themes/createColors.ts
(overridebackground.canvas
color withlightGray
)public/app/core/components/AppChrome/AppChrome.tsx
(overridesearchBarHidden
withtrue
, replaceNavToolbar
with actions, add css for actions, disableNavToolbar
andMegaMenu
)public/app/core/components/PageNew/SectionNav.tsx
(disableSectionNavToggle
)public/app/features/dashboard/components/DashNav/DashNav.tsx
(overridecanStar
,canShare
andisStarred
withfalse
)public/app/core/components/PageNew/Page.tsx
(disablepadding
in css)
for more details see: OP_CHANGES.md