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 examples and tests to verify that their schema loads and plans work #16

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

aschepis
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

aschepis commented Apr 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aschepis and the rest of your teammates on Graphite Graphite

chronosphere/provider_test.go Outdated Show resolved Hide resolved
chronosphere/provider_test.go Outdated Show resolved Hide resolved
dev/examples/bucket-inline-policy/prefix.tf Outdated Show resolved Hide resolved
dev/examples/dashboard/version.tf Outdated Show resolved Hide resolved
dev/examples/derived-labels/main.tf Outdated Show resolved Hide resolved
@aschepis aschepis force-pushed the aschepis/test-examples branch from abf8aef to cd793fc Compare April 26, 2024 14:16
@prashantv prashantv changed the title add dev examples and tests to verify that their schema loads and plans work add examples and tests to verify that their schema loads and plans work Apr 27, 2024
@@ -0,0 +1,4 @@
resource "chronosphere_team" "t" {
Copy link
Contributor

Choose a reason for hiding this comment

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

optional: could this be a symlink to ../teams/main.tf

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -0,0 +1,23 @@
resource "chronosphere_drop_rule" "mah-drop-rule" {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: mind getting rid of "mah" and replacing it with something else? (purely cosmetic)

@@ -0,0 +1,7 @@
resource "chronosphere_gcp_metrics_integration" "customer" {
name = "GCP Metrics Integration"
slug = "test-gcp-metrics-integration"
Copy link
Contributor

Choose a reason for hiding this comment

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

for follow-up, this example is pretty light, doesn't have any metric_groups which seems to be the main entity body
cc @kirgirchrono

@@ -0,0 +1,22 @@
resource "chronosphere_grafana_dashboard" "my_dashboard" {
Copy link
Contributor

Choose a reason for hiding this comment

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

since we call them classic dashboards, should we drop the support for the old name here? cc @bg451

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

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

let's delete this file (creating a service isn't supported)

Copy link
Collaborator Author

aschepis commented Apr 29, 2024

Merge activity

  • Apr 29, 12:19 PM EDT: @aschepis started a stack merge that includes this pull request via Graphite.
  • Apr 29, 12:19 PM EDT: @aschepis merged this pull request with Graphite.

@aschepis aschepis merged commit fe381d6 into main Apr 29, 2024
4 checks passed
@aschepis aschepis deleted the aschepis/test-examples branch April 29, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants