Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource for kibana synthetics monitors: http and tcp #699

Merged

Conversation

biscout42
Copy link
Contributor

@biscout42 biscout42 commented Aug 6, 2024

Related to #610

TODOs

  • Implement CRUD
  • Implement tfModelV0 and unit test for API <-> tf model conversion
  • Implement tcp in kibana API client
  • Add acc tests
  • Add resource documentation, sample templates and readme entry

@biscout42 biscout42 requested a review from tobio August 16, 2024 20:54
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

LGTM, we're going to need to deal with the state transition in the private_location resource unfortunately.

internal/kibana/synthetics/private_location/read.go Outdated Show resolved Hide resolved
@tobio
Copy link
Member

tobio commented Aug 18, 2024

We'll also need a CHANGELOG entry too

@biscout42 biscout42 requested a review from tobio August 19, 2024 05:47
tobio
tobio previously approved these changes Aug 19, 2024
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

LGTM

…reven deletion of same private location across tests.
@biscout42
Copy link
Contributor Author

biscout42 commented Aug 19, 2024

@tobio , could you ack it again 🙏 ? I have split resources in monitor test to prevent cross-resource deletion.

@biscout42 biscout42 enabled auto-merge (squash) August 19, 2024 09:14
@biscout42
Copy link
Contributor Author

FYI: I enabled auto-merge.

@biscout42 biscout42 merged commit 92e0b14 into elastic:main Aug 20, 2024
20 checks passed
@biscout42 biscout42 deleted the kibana-synthetics-http-and-tcp-monitors branch August 20, 2024 07:36
tobio added a commit that referenced this pull request Aug 26, 2024
* origin/main:
  Add support for the `alert_delay` param in the Create Rule API (#715)
  chore: prepare release v0.11.6 (#716)
  Validate that mappings are a JSON object, not just valid json (#719)
  fix: move all resources in one namespace for tcp monitor acc tests (#717)
  Bump github.com/golangci/golangci-lint from 1.59.1 to 1.60.1 in /tools (#714)
  Bump github.com/docker/docker in /tools (#718)
  Bump github.com/goreleaser/goreleaser from 1.26.1 to 1.26.2 in /tools (#642)
  Bump github.com/hashicorp/terraform-plugin-framework (#705)
  Add kibana synthetics http and tcp monitor resources (#699)
  Kibana spaces data source (#682)
  Use ephemeral github token for build. (#712)
  chore: 8.15.0 is here - lets try it out (#708)
  Update changelog for 0.11.5
  Bump version for 0.11.5 (#706)
  Bugfix SLO API: Update type for `group_by` to accept either string or array-of-strings (#701)
  Support `restriction` in `elasticstack_elasticsearch_security_api_key` (#577)
  chore: follow-up CR changes for synthetics private location resource (#697)
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