Skip to content

accept project:region:instance for GCP cloud db instances - #48

Open
omar-polo wants to merge 1 commit into
integration/mysqlfrom
op/fix-mysql-gcp-identifier
Open

omar-polo wants to merge 1 commit into
integration/mysqlfrom
op/fix-mysql-gcp-identifier

Conversation

@omar-polo

Copy link
Copy Markdown
Collaborator

No description provided.

@glemmaPaul glemmaPaul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sanity check, otherwise looks good

Comment thread mysql/mysqlconn/conn.go
if err != nil || p < 1 || p > 65535 {
return cc, fmt.Errorf("invalid port %q: must be an integer between 1 and 65535", v)
}
cc.Port = v

@glemmaPaul glemmaPaul Sep 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if a proxy is set, we ignore port. Proxy url might have Port in their URL, this will not fail? I might be wrong, but wouldnt here: https://github.com/PlakarKorp/integrations/blob/integration/mysql/mysql/exporter/exporter.go#L46C1-L51C2

Make this say: proxyurl.nl:1337:

Let me know if that is true, other then that it looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants