1
0
Fork 0

bump ressources for monitoring and fix newegg selector

This commit is contained in:
Massaki Archambault 2022-11-11 11:02:36 -05:00
parent 5d49ce4561
commit d55f74e74f
3 changed files with 11 additions and 11 deletions

View File

@ -17,11 +17,11 @@ spec:
args: ['-c', '/config/ecommerce-exporter.yml']
resources:
requests:
memory: 100Mi
cpu: 100m
memory: 200Mi
cpu: 200m
limits:
memory: 100Mi
cpu: 100m
memory: 200Mi
cpu: 200m
ports:
- containerPort: 8000
name: http

View File

@ -4,7 +4,7 @@ metadata:
name: prometheus
spec:
serviceAccountName: prometheus
retention: 30d
retention: 28d
retentionSize: 9GB
ruleSelector:
matchLabels:
@ -40,7 +40,7 @@ spec:
cpu: 2000m
memory: 2Gi
limits:
cpu: 2000m
cpu: 3000m
memory: 2Gi
storage:
volumeClaimTemplate:

View File

@ -6,7 +6,7 @@ products:
selector: '.priceToPay .a-offscreen::text'
- parser: json
url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=19-118-347&RecommendItem=&BestSellerItemList=9SIAA4YJ3X7676%2C9SIADGEGRN9541%2C9SIA7BBGRN9510&IsVATPrice=true
selector: '.MainItem.UnitCost'
selector: '.MainItem.FinalPrice'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/15778668/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
@ -23,7 +23,7 @@ products:
selector: '.priceToPay .a-offscreen::text'
- parser: json
url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=19-118-343&RecommendItem=&BestSellerItemList=9SIAA4YGC82324%2C9SIADGEGMY7603%2C9SIAVH1J0A6685&IsVATPrice=true
selector: '.MainItem.UnitCost'
selector: '.MainItem.FinalPrice'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/15778672/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
@ -40,7 +40,7 @@ products:
selector: '.priceToPay .a-offscreen::text'
- parser: json
url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=9SIAB98DXP3361&RecommendItem=&BestSellerItemList=9SIB9H0H0H0660&IsVATPrice=true
selector: '.MainItem.UnitCost'
selector: '.MainItem.FinalPrice'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/16580299/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
@ -51,7 +51,7 @@ products:
selector: '.priceToPay .a-offscreen::text'
- parser: json
url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=13-119-541&RecommendItem=&BestSellerItemList=9SIADGEGZU2598&IsVATPrice=true
selector: '.MainItem.UnitCost'
selector: '.MainItem.FinalPrice'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/15954559/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
@ -68,7 +68,7 @@ products:
selector: '.priceToPay .a-offscreen::text'
- parser: json
url: https://www.newegg.ca/product/api/ProductRealtime?ItemNumber=13-144-531&RecommendItem=&BestSellerItemList=9SIA9H5HS67633%2C9SIA7BBHWY8396%2C9SIADDZJ183773&IsVATPrice=true
selector: '.MainItem.UnitCost'
selector: '.MainItem.FinalPrice'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/16486621/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'