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'] args: ['-c', '/config/ecommerce-exporter.yml']
resources: resources:
requests: requests:
memory: 100Mi memory: 200Mi
cpu: 100m cpu: 200m
limits: limits:
memory: 100Mi memory: 200Mi
cpu: 100m cpu: 200m
ports: ports:
- containerPort: 8000 - containerPort: 8000
name: http name: http

View File

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

View File

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