Skip to content

Commit

Permalink
Merge branch 'v3' into PMM-13629-fix-pmm-managed-npe-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Jan 8, 2025
2 parents 9b846cd + 6fd9049 commit 9bc7ed4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- 443:8443
environment:
- PMM_DEBUG=1
- PERCONA_PORTAL_URL=https://portal-dev.percona.com
- PMM_DEV_PORTAL_URL=https://portal-dev.percona.com
- PMM_DEV_PERCONA_PLATFORM_ADDRESS=https://check-dev.percona.com:443
- PMM_DEV_PERCONA_PLATFORM_PUBLIC_KEY=RWTkF7Snv08FCboTne4djQfN5qbrLfAjb8SY3/wwEP+X5nUrkxCEvUDJ

Expand Down
2 changes: 1 addition & 1 deletion pkg/api/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func GetPerconaSaasHost(c *contextmodel.ReqContext) response.Response {
saasHost := "https://portal.percona.com"
envHost, ok := os.LookupEnv("PERCONA_PORTAL_URL")
envHost, ok := os.LookupEnv("PMM_DEV_PORTAL_URL")

if ok {
saasHost = envHost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const TemplateFiltersField: FC = () => {
} = useFormContext();
const filterOptions: Array<SelectableValue<AlertRuleFilterType>> = useMemo(
() =>
Object.entries(AlertRuleFilterType).map(([, value]) => ({
label: value,
value: value,
Object.entries(AlertRuleFilterType).map(([label, value]) => ({
label,
value,
})),
[]
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const Advanced: FC = () => {
enable_telemetry: telemetry,
enable_advisor: stt,
enable_azurediscover: azureDiscover,
pmm_public_address: publicAddress,
pmm_public_address: publicAddress || '',
enable_alerting: alerting,
advisor_run_intervals: !!stt ? sttCheckIntervals : undefined,
enable_backup_management: backup,
Expand Down
4 changes: 2 additions & 2 deletions public/app/percona/shared/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export enum AlertRuleParamType {
}

export enum AlertRuleFilterType {
MATCH = 'MATCH',
MISMATCH = 'MISMATCH',
MATCH = 'FILTER_TYPE_MATCH',
MISMATCH = 'FILTER_TYPE_MISMATCH',
}

export type AlertRulesParsedParam = TemplateParam & { value: string | boolean | number };
Expand Down
Empty file.
Empty file modified public/app/plugins/panel/pmm-update/module.tsx
100755 → 100644
Empty file.
Empty file modified public/app/plugins/panel/pmm-update/plugin.json
100755 → 100644
Empty file.

0 comments on commit 9bc7ed4

Please sign in to comment.