1
0
Fork 0

update ecommerce-exporter configuration and bump prom+grafana resources

This commit is contained in:
Massaki Archambault 2022-11-04 17:28:01 -04:00
parent da668d6ae6
commit 5d49ce4561
5 changed files with 65 additions and 15 deletions

View File

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

View File

@ -46,10 +46,10 @@ spec:
resources: resources:
requests: requests:
cpu: 250m cpu: 250m
memory: 250Mi memory: 500Mi
limits: limits:
cpu: 250m cpu: 250m
memory: 250Mi memory: 500Mi
volumeMounts: volumeMounts:
- name: gitea-pv - name: gitea-pv
mountPath: /data mountPath: /data

View File

@ -59,11 +59,11 @@ spec:
containerPort: 3000 containerPort: 3000
resources: resources:
requests: requests:
cpu: 250m cpu: 500m
memory: 250Mi memory: 500Mi
limits: limits:
cpu: 250m cpu: 500m
memory: 250Mi memory: 500Mi
volumeMounts: volumeMounts:
- name: grafana-datasources - name: grafana-datasources
mountPath: /etc/grafana/provisioning/datasources mountPath: /etc/grafana/provisioning/datasources

View File

@ -37,11 +37,11 @@ spec:
fsGroup: 65534 fsGroup: 65534
resources: resources:
requests: requests:
cpu: 1000m cpu: 2000m
memory: 1Gi memory: 2Gi
limits: limits:
cpu: 1000m cpu: 2000m
memory: 1Gi memory: 2Gi
storage: storage:
volumeClaimTemplate: volumeClaimTemplate:
spec: spec:

View File

@ -3,7 +3,7 @@ products:
targets: targets:
- parser: html - parser: html
url: https://www.amazon.ca/Intel-i5-12600K-Desktop-Processor-Unlocked/dp/B09FX4D72T/ url: https://www.amazon.ca/Intel-i5-12600K-Desktop-Processor-Unlocked/dp/B09FX4D72T/
selector: '.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.UnitCost'
@ -20,7 +20,7 @@ products:
targets: targets:
- parser: html - parser: html
url: https://www.amazon.ca/Intel-i7-12700K-Desktop-Processor-Unlocked/dp/B09FXNVDBJ/ url: https://www.amazon.ca/Intel-i7-12700K-Desktop-Processor-Unlocked/dp/B09FXNVDBJ/
selector: '.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.UnitCost'
@ -33,3 +33,53 @@ products:
- parser: html - parser: html
url: https://www.memoryexpress.com/Products/MX00119043 url: https://www.memoryexpress.com/Products/MX00119043
selector: '.GrandTotal' selector: '.GrandTotal'
- name: NH-U12S redux
targets:
- parser: html
url: https://www.amazon.ca/Noctua-NH-U12S-Performance-Cooler-redux-1700/dp/B08WPDD6GD/
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'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/16580299/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
- name: ASUS Prime B660M-A D4
targets:
- parser: html
url: https://www.amazon.ca/Prime-B660M-D4-Motherboard-Type-C/dp/B09NWF1JQC
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'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/15954559/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
- parser: html
url: https://www.canadacomputers.com/product_info.php?cPath=26_1842_3869&item_id=213279
selector: '.price-show-panel .h2-big strong::text'
- parser: html
url: https://www.memoryexpress.com/Products/MX00119756
selector: '.GrandTotal'
- name: MSI PRO B660M-A
targets:
- parser: html
url: https://www.amazon.ca/MSI-PRO-B660M-DDR4-Motherboard/dp/B09NTMRRTL/
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'
- parser: json
url: https://www.bestbuy.ca/api/offers/v1/products/16486621/offers?postalCode=J4L
selector: '.[] | .salePrice,.regularPrice'
- parser: html
url: https://www.canadacomputers.com/product_info.php?cPath=26_1842_3869&item_id=213893
selector: '.price-show-panel .h2-big strong::text'
- parser: html
url: https://www.memoryexpress.com/Products/MX00120369
selector: '.GrandTotal'
- name: 8Bitdo Ultimate Bluetooth Controller
targets:
- parser: html
url: https://www.amazon.ca/8Bitdo-Ultimate-Bluetooth-Controller-Charging/dp/B0B9BGJVLL/
selector: '.priceToPay .a-offscreen::text'