Skip to content

Tool to deploy hosts/k8s clusters and monitor them with OpenTelemetry to quickly work on OpenTelemetry related tasks (troubleshooting, demos, roadmap initiatives).

License

Notifications You must be signed in to change notification settings

newrelic-experimental/env-provisioner

New Relic Experimental header

otel-env-provisioner

Create OpenTelemetry instrumented environments on demand.

Predefined scenarios are located under terraform folder and can be spawned with custom configurations. When creating and environment, a copy of the selected scenario will be created and placed under environments folder with the custom configuration.

Installation

  • Docker Application will run in docker so no other software dependencies are required.
  • AWS Credentials: ~/.aws folder will be used to create the infrastructure in AWS
  • SSH Key: ~/.ssh folder will be used to access the ES2 instances
  • AWS_PROFILE : Environment variable with the profile to be used
  • AWS_REGION : Environment variable with the AWS region to be used

Getting Started

Executing run.sh will guide you to create, execute and destroy environments. After creating the environment, check the README.md of the created environment to check how to configure it.

./run.sh

Support

  • otel-ec2: Spawn ec2 instances with the Open Telemetry Collector (gateway or agent)
  • otel-eks: Spawn an EKS cluster

Troubleshooting

Terraform gets stuck after plan

Probably aws credentials are expired. Renew them and execute action again.

Ansible cannot connect to host

Ensure that the ssh_key path provided is the one inside the docker container (i.e. : /root/.ssh/your_key_name). .ssh folder gets mounted ro inside the container so any key from the host machine should work.

Contributing

We encourage your contributions to improve [project name]! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project. If you have any questions, or to execute our corporate CLA, required if your contribution is on behalf of a company, please drop us an email at [email protected].

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

License

otel-env-provisioner is licensed under the Apache 2.0 License.

About

Tool to deploy hosts/k8s clusters and monitor them with OpenTelemetry to quickly work on OpenTelemetry related tasks (troubleshooting, demos, roadmap initiatives).

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published