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

Did not get status code 200 #104

Open
anoop2503 opened this issue Jun 12, 2021 · 1 comment
Open

Did not get status code 200 #104

anoop2503 opened this issue Jun 12, 2021 · 1 comment

Comments

@anoop2503
Copy link

anoop2503 commented Jun 12, 2021

Hi,

I am trying to set up the exporter as a kubernetes application and using configmap for creating configuration file. However, when I am deploying the application I am getting an following error.

Failed to get token: Did not get status code 200, got: 404 with body:

Here is the configmap I created for the configuration.

apiVersion: v1
data:
  azure.yml: |
    active_directory_authority_url: "https://login.microsoftonline.com/"
    resource_manager_url: "https://management.azure.com/"
    credentials:
      client_id: "4xxxxxxx-4xxx-4xxx-8xxx-2xxxxxxxxxxx"
    resource_groups:
      - resource_group: "my_resource_group_name"
        resource_types:
          - "Microsoft.Compute/virtualMachines"
        metrics:
          - name: "Disk Read Bytes"
          - name: "Disk Write Bytes"
kind: ConfigMap
metadata:
  name: azure-exporter

Any suggestions? Do we have any sample configuration for k8s?

@anoop2503
Copy link
Author

Anyone has any idea about this issue?

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

No branches or pull requests

1 participant