Skip to content

Commit

Permalink
Repo Cleanup (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
gracewehner authored Sep 20, 2022
1 parent dcd7b10 commit 421faa4
Show file tree
Hide file tree
Showing 69 changed files with 2 additions and 5,197 deletions.
329 changes: 0 additions & 329 deletions .github/workflows/build-and-push-image-and-chart.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/deploy-to-prod.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/run-sdl-code-analysis-tools.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ The other necessary test is if the maximum volume of metrics that the agent can

Note: This step is only necessary if making changes to the app. Otherwise, the yamls below will have the latest image.

To build the reference app, go to the directory `cd otelcollector/referenceapp/<golang or python>` and run `docker build -f ./<linux or windows>/Dockerfile -t <your image tag> .` depending on which OS you want to build.
To build the reference app, go to the directory `cd internal/referenceapp/<golang or python>` and run `docker build -f ./<linux or windows>/Dockerfile -t <your image tag> .` depending on which OS you want to build.

### Deploy the Reference App with Perf Mode Enabled

Deploy the [linux reference app](../../referenceapp/prometheus-reference-app.yaml) or the [windows reference app](../../referenceapp/win-prometheus-reference-app.yaml) with `RUN_PERF_TEST` set to `true` to generate the specified number of metrics at a specified interval. Specify how many replicas should be scraped in the yaml spec. In the environment variables, set `SCRAPE_INTERVAL` to be an integer in seconds of how often the metrics should be generated. Set `METRIC_COUNT` to be the number of OTLP metrics to generate. Note that OTLP counts metrics by name. Multiply this by the number of timeseries of that metric to get the total number of timeseries that will be generated. For example, the reference app has 8 timeseries for the metric `myapp_temperature`. If we want 2,000,000 of these metrics to be generated every 15 seconds, the environment variables set in the yaml would be:
Deploy the [linux reference app](../referenceapp/prometheus-reference-app.yaml) or the [windows reference app](../referenceapp/win-prometheus-reference-app.yaml) with `RUN_PERF_TEST` set to `true` to generate the specified number of metrics at a specified interval. Specify how many replicas should be scraped in the yaml spec. In the environment variables, set `SCRAPE_INTERVAL` to be an integer in seconds of how often the metrics should be generated. Set `METRIC_COUNT` to be the number of OTLP metrics to generate. Note that OTLP counts metrics by name. Multiply this by the number of timeseries of that metric to get the total number of timeseries that will be generated. For example, the reference app has 8 timeseries for the metric `myapp_temperature`. If we want 2,000,000 of these metrics to be generated every 15 seconds, the environment variables set in the yaml would be:

```yaml
env:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions otelcollector/build/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
LABEL description="Azure Monitor Prometheus metrics collector"
LABEL maintainer="[email protected]"
# ARG IMAGE_TAG="test"
# ENV AGENT_VERSION ${IMAGE_TAG}
ENV OS_TYPE "linux"
ENV DEBIAN_FRONTEND=noninteractive
ENV AZMON_COLLECT_ENV False
Expand Down
39 changes: 0 additions & 39 deletions otelcollector/deploy/prometheus-collector-settings-configmap.yaml

This file was deleted.

Loading

0 comments on commit 421faa4

Please sign in to comment.