Skip to content

Add arvancloud_cdn_ prefix to all metrics #2

Merged
merged 2 commits into from
Jan 15, 2021
Merged

Conversation

yzdann
Copy link
Contributor

@yzdann yzdann commented Jan 13, 2021

I think it's nice to start metric names with a related prefix to prevent metric conflicts ...
Like this official prometheus exporter.

@3a8r
Copy link
Collaborator

3a8r commented Jan 14, 2021

I get this error:
Error on updating sabermesgary.net metrics
where that is my domain.

where do you get the api key and how you use it?

@yzdann
Copy link
Contributor Author

yzdann commented Jan 14, 2021

From https://npanel.arvancloud.com/profile/api-keys

$ docker build -t ar-pr-test .

$ docker run \
 -d \
 -p 9097:9097 \
 -e DOMAINS=domain.ir\
 -e API_KEY="Apikey xxxxxxxxxxxxxx" \
  ar-pr-test

It seems your Apikey is not valid.

aravancloud_cdn_metrics

@3a8r 3a8r merged commit e10fc67 into arvancloud:main Jan 15, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants