Skip to content

Commit

Permalink
fix ipni plot (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel authored Oct 11, 2024
1 parent 9352666 commit aebf572
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions config/plotdefs/ipni-requests-overall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ datasets:
- name: "IPNI total requests"
source: "caracol"
query: >
select date, value from get_collected_values(2, {{ .StartOfDay | timestamptz }} - '90 day'::interval, {{ .StartOfDay | timestamptz }});
select date, value from get_collected_values(25, {{ .StartOfDay | timestamptz }} - '90 day'::interval, {{ .StartOfDay | timestamptz }});
series:
- type: "bar"
Expand All @@ -12,7 +12,6 @@ series:
labels: "date"
values: "value"


layout:
title:
text: 'Data: {{ .EndOfPreviousDay | dayModify "-90" | simpledate}} to {{ .EndOfPreviousDay | simpledate }}. Source: contact.cid prometheus metrics.'
Expand Down
11 changes: 5 additions & 6 deletions content.en/ipfs/kpi/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ The historic trend over time is currently provided by [Parsec](/tools/parsec). B

{{< plotly json="../../plots/latest/dht-lookup-performance-long.json" height="600px" >}}

<!-- ### IPNI utilization -->
<!---->
<!-- [IPNI](https://github.com/ipni) is a set of protocols that describe how data can be indexed across the IPFS and Filecoin networks. Network indexers complement the [IPFS DHT](https://docs.ipfs.tech/concepts/dht/) to enable peers to locate content-addressed data. The data in the plot below shows the number of requests made per day to the network indexers operated by [cid.contact](https://cid.contact/). -->
<!---->
<!-- {{< plotly json="../../plots/latest/ipni-requests-overall.json" height="600px" >}} -->
<!---->
### IPNI utilization

[IPNI](https://github.com/ipni) is a set of protocols that describe how data can be indexed across the IPFS and Filecoin networks. Network indexers complement the [IPFS DHT](https://docs.ipfs.tech/concepts/dht/) to enable peers to locate content-addressed data. The data in the plot below shows the number of requests made per day to the network indexers operated by [cid.contact](https://cid.contact/).

{{< plotly json="../../plots/latest/ipni-requests-overall.json" height="600px" >}}

## Websites

Expand Down
2 changes: 1 addition & 1 deletion content.en/plots/2024/10/11/ipni-requests-overall.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"data":[{"type":"bar","hovertemplate":"","name":"Total","orientation":"v","visible":true,"x":["2024-07-13T00:00:00Z","2024-07-14T00:00:00Z","2024-07-15T00:00:00Z","2024-07-16T00:00:00Z","2024-07-17T00:00:00Z","2024-07-18T00:00:00Z","2024-07-19T00:00:00Z","2024-07-20T00:00:00Z","2024-07-21T00:00:00Z","2024-07-22T00:00:00Z","2024-07-23T00:00:00Z","2024-07-24T00:00:00Z","2024-07-25T00:00:00Z","2024-07-26T00:00:00Z","2024-07-27T00:00:00Z","2024-07-28T00:00:00Z","2024-07-29T00:00:00Z","2024-07-30T00:00:00Z","2024-07-31T00:00:00Z","2024-08-01T00:00:00Z","2024-08-02T00:00:00Z","2024-08-03T00:00:00Z","2024-08-04T00:00:00Z","2024-08-05T00:00:00Z","2024-08-06T00:00:00Z","2024-08-07T00:00:00Z","2024-08-08T00:00:00Z","2024-08-09T00:00:00Z","2024-08-10T00:00:00Z","2024-08-11T00:00:00Z","2024-08-12T00:00:00Z","2024-08-13T00:00:00Z","2024-08-14T00:00:00Z","2024-08-15T00:00:00Z","2024-08-16T00:00:00Z","2024-08-17T00:00:00Z","2024-08-18T00:00:00Z","2024-08-19T00:00:00Z","2024-08-20T00:00:00Z","2024-08-21T00:00:00Z","2024-08-22T00:00:00Z","2024-08-23T00:00:00Z","2024-08-24T00:00:00Z","2024-08-25T00:00:00Z","2024-08-26T00:00:00Z","2024-08-27T00:00:00Z","2024-08-28T00:00:00Z","2024-08-29T00:00:00Z","2024-08-30T00:00:00Z","2024-08-31T00:00:00Z","2024-09-01T00:00:00Z","2024-09-02T00:00:00Z","2024-09-03T00:00:00Z","2024-09-04T00:00:00Z","2024-09-05T00:00:00Z","2024-09-06T00:00:00Z","2024-09-07T00:00:00Z","2024-09-08T00:00:00Z","2024-09-09T00:00:00Z","2024-09-10T00:00:00Z","2024-09-11T00:00:00Z","2024-09-12T00:00:00Z","2024-09-13T00:00:00Z","2024-09-14T00:00:00Z","2024-09-15T00:00:00Z","2024-09-16T00:00:00Z","2024-09-17T00:00:00Z","2024-09-18T00:00:00Z","2024-09-19T00:00:00Z","2024-09-20T00:00:00Z","2024-09-21T00:00:00Z","2024-09-22T00:00:00Z","2024-09-23T00:00:00Z","2024-09-24T00:00:00Z","2024-09-25T00:00:00Z","2024-09-26T00:00:00Z","2024-09-27T00:00:00Z","2024-09-28T00:00:00Z","2024-09-29T00:00:00Z","2024-09-30T00:00:00Z","2024-10-01T00:00:00Z","2024-10-02T00:00:00Z","2024-10-03T00:00:00Z","2024-10-04T00:00:00Z","2024-10-05T00:00:00Z","2024-10-06T00:00:00Z","2024-10-07T00:00:00Z","2024-10-08T00:00:00Z","2024-10-09T00:00:00Z","2024-10-10T00:00:00Z"],"y":[12354453,11225959,20686448,22233130,18906366,14680008,11753025,10918029,19499456,18004807,22457955,18770877,16713199,12752239,10342627,10434551,10947849,10773180,10215447,10297783,10858358,11583879,10171552,8746494,17619,17603,17580,17784,17594,17579,17597,17579,17583,17579,17582,17578,17582,17578,17581,17600,17583,17480,17583,17590,17587,17583,17583,17606,17592,17581,17577,17596,17466,17586,17588,17586,17592,17213,17584,17588,17585,17595,17598,17653,17619,17600,17592,17645,17630,17462,17581,17583,17456,17579,17587,17575,17595,17590,17588,17580,17583,17604,17639,17455,17458,17577,17692,17598,16696,14292],"yaxis":""}],"layout":{"annotations":null,"legend":{"orientation":"h"},"title":{"font":{"size":10},"text":"Data: 12 Jul 2024 to 10 Oct 2024. Source: contact.cid prometheus metrics.","x":0.99,"xanchor":"right","y":0.01,"yanchor":"bottom"},"yaxis":{"autorange":true,"rangemode":"tozero","title":{"text":"Number of requests"}}},"params":null,"dynamicLayout":null,"config":null}
{"data":[{"type":"bar","hovertemplate":"","name":"Total","orientation":"v","visible":true,"x":["2024-08-01T00:00:00Z","2024-08-02T00:00:00Z","2024-08-03T00:00:00Z","2024-08-04T00:00:00Z","2024-08-05T00:00:00Z","2024-08-06T00:00:00Z","2024-08-07T00:00:00Z","2024-08-08T00:00:00Z","2024-08-09T00:00:00Z","2024-08-10T00:00:00Z","2024-08-11T00:00:00Z","2024-08-12T00:00:00Z","2024-08-13T00:00:00Z","2024-08-14T00:00:00Z","2024-08-15T00:00:00Z","2024-08-16T00:00:00Z","2024-08-17T00:00:00Z","2024-08-18T00:00:00Z","2024-08-19T00:00:00Z","2024-08-20T00:00:00Z","2024-08-21T00:00:00Z","2024-08-22T00:00:00Z","2024-08-23T00:00:00Z","2024-08-24T00:00:00Z","2024-08-25T00:00:00Z","2024-08-26T00:00:00Z","2024-08-27T00:00:00Z","2024-08-28T00:00:00Z","2024-08-29T00:00:00Z","2024-08-30T00:00:00Z","2024-08-31T00:00:00Z","2024-09-01T00:00:00Z","2024-09-02T00:00:00Z","2024-09-03T00:00:00Z","2024-09-04T00:00:00Z","2024-09-05T00:00:00Z","2024-09-06T00:00:00Z","2024-09-07T00:00:00Z","2024-09-08T00:00:00Z","2024-09-09T00:00:00Z","2024-09-10T00:00:00Z","2024-09-11T00:00:00Z","2024-09-12T00:00:00Z","2024-09-13T00:00:00Z","2024-09-14T00:00:00Z","2024-09-15T00:00:00Z","2024-09-16T00:00:00Z","2024-09-17T00:00:00Z","2024-09-18T00:00:00Z","2024-09-19T00:00:00Z","2024-09-20T00:00:00Z","2024-09-21T00:00:00Z","2024-09-22T00:00:00Z","2024-09-23T00:00:00Z","2024-09-24T00:00:00Z","2024-09-25T00:00:00Z","2024-09-26T00:00:00Z","2024-09-27T00:00:00Z","2024-09-28T00:00:00Z","2024-09-29T00:00:00Z","2024-09-30T00:00:00Z","2024-10-01T00:00:00Z","2024-10-02T00:00:00Z","2024-10-03T00:00:00Z","2024-10-04T00:00:00Z","2024-10-05T00:00:00Z","2024-10-06T00:00:00Z","2024-10-07T00:00:00Z","2024-10-08T00:00:00Z","2024-10-09T00:00:00Z","2024-10-10T00:00:00Z"],"y":[98564836,105600775,110928685,98346382,91674525,83295230,76342667,70532553,80166615,83448500,86308070,78136934,76542415,74245499,69291809,78233186,82053622,80539375,71823503,74996915,63160960,72092919,81739177,79384275,77025805,78198789,81259412,78287956,76061916,75911861,74571059,77689961,75790318,82794662,78833989,79197959,79688015,75533904,74868575,68253529,69841647,77905308,82387272,102105350,142684670,105271806,77160015,84570479,89552842,82975788,83491057,82249725,76488018,82614961,83484182,81105607,79472526,78691210,88538618,82919651,81309854,89905743,83836333,80130572,80767091,80765419,68771410,65440389,76587386,85226956,93656917],"yaxis":""}],"layout":{"annotations":null,"legend":{"orientation":"h"},"title":{"font":{"size":10},"text":"Data: 12 Jul 2024 to 10 Oct 2024. Source: contact.cid prometheus metrics.","x":0.99,"xanchor":"right","y":0.01,"yanchor":"bottom"},"yaxis":{"autorange":true,"rangemode":"tozero","title":{"text":"Number of requests"}}},"params":null,"dynamicLayout":null,"config":null}
2 changes: 1 addition & 1 deletion content.en/plots/latest/ipni-requests-overall.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"data":[{"type":"bar","hovertemplate":"","name":"Total","orientation":"v","visible":true,"x":["2024-07-13T00:00:00Z","2024-07-14T00:00:00Z","2024-07-15T00:00:00Z","2024-07-16T00:00:00Z","2024-07-17T00:00:00Z","2024-07-18T00:00:00Z","2024-07-19T00:00:00Z","2024-07-20T00:00:00Z","2024-07-21T00:00:00Z","2024-07-22T00:00:00Z","2024-07-23T00:00:00Z","2024-07-24T00:00:00Z","2024-07-25T00:00:00Z","2024-07-26T00:00:00Z","2024-07-27T00:00:00Z","2024-07-28T00:00:00Z","2024-07-29T00:00:00Z","2024-07-30T00:00:00Z","2024-07-31T00:00:00Z","2024-08-01T00:00:00Z","2024-08-02T00:00:00Z","2024-08-03T00:00:00Z","2024-08-04T00:00:00Z","2024-08-05T00:00:00Z","2024-08-06T00:00:00Z","2024-08-07T00:00:00Z","2024-08-08T00:00:00Z","2024-08-09T00:00:00Z","2024-08-10T00:00:00Z","2024-08-11T00:00:00Z","2024-08-12T00:00:00Z","2024-08-13T00:00:00Z","2024-08-14T00:00:00Z","2024-08-15T00:00:00Z","2024-08-16T00:00:00Z","2024-08-17T00:00:00Z","2024-08-18T00:00:00Z","2024-08-19T00:00:00Z","2024-08-20T00:00:00Z","2024-08-21T00:00:00Z","2024-08-22T00:00:00Z","2024-08-23T00:00:00Z","2024-08-24T00:00:00Z","2024-08-25T00:00:00Z","2024-08-26T00:00:00Z","2024-08-27T00:00:00Z","2024-08-28T00:00:00Z","2024-08-29T00:00:00Z","2024-08-30T00:00:00Z","2024-08-31T00:00:00Z","2024-09-01T00:00:00Z","2024-09-02T00:00:00Z","2024-09-03T00:00:00Z","2024-09-04T00:00:00Z","2024-09-05T00:00:00Z","2024-09-06T00:00:00Z","2024-09-07T00:00:00Z","2024-09-08T00:00:00Z","2024-09-09T00:00:00Z","2024-09-10T00:00:00Z","2024-09-11T00:00:00Z","2024-09-12T00:00:00Z","2024-09-13T00:00:00Z","2024-09-14T00:00:00Z","2024-09-15T00:00:00Z","2024-09-16T00:00:00Z","2024-09-17T00:00:00Z","2024-09-18T00:00:00Z","2024-09-19T00:00:00Z","2024-09-20T00:00:00Z","2024-09-21T00:00:00Z","2024-09-22T00:00:00Z","2024-09-23T00:00:00Z","2024-09-24T00:00:00Z","2024-09-25T00:00:00Z","2024-09-26T00:00:00Z","2024-09-27T00:00:00Z","2024-09-28T00:00:00Z","2024-09-29T00:00:00Z","2024-09-30T00:00:00Z","2024-10-01T00:00:00Z","2024-10-02T00:00:00Z","2024-10-03T00:00:00Z","2024-10-04T00:00:00Z","2024-10-05T00:00:00Z","2024-10-06T00:00:00Z","2024-10-07T00:00:00Z","2024-10-08T00:00:00Z","2024-10-09T00:00:00Z","2024-10-10T00:00:00Z"],"y":[12354453,11225959,20686448,22233130,18906366,14680008,11753025,10918029,19499456,18004807,22457955,18770877,16713199,12752239,10342627,10434551,10947849,10773180,10215447,10297783,10858358,11583879,10171552,8746494,17619,17603,17580,17784,17594,17579,17597,17579,17583,17579,17582,17578,17582,17578,17581,17600,17583,17480,17583,17590,17587,17583,17583,17606,17592,17581,17577,17596,17466,17586,17588,17586,17592,17213,17584,17588,17585,17595,17598,17653,17619,17600,17592,17645,17630,17462,17581,17583,17456,17579,17587,17575,17595,17590,17588,17580,17583,17604,17639,17455,17458,17577,17692,17598,16696,14292],"yaxis":""}],"layout":{"annotations":null,"legend":{"orientation":"h"},"title":{"font":{"size":10},"text":"Data: 12 Jul 2024 to 10 Oct 2024. Source: contact.cid prometheus metrics.","x":0.99,"xanchor":"right","y":0.01,"yanchor":"bottom"},"yaxis":{"autorange":true,"rangemode":"tozero","title":{"text":"Number of requests"}}},"params":null,"dynamicLayout":null,"config":null}
{"data":[{"type":"bar","hovertemplate":"","name":"Total","orientation":"v","visible":true,"x":["2024-08-01T00:00:00Z","2024-08-02T00:00:00Z","2024-08-03T00:00:00Z","2024-08-04T00:00:00Z","2024-08-05T00:00:00Z","2024-08-06T00:00:00Z","2024-08-07T00:00:00Z","2024-08-08T00:00:00Z","2024-08-09T00:00:00Z","2024-08-10T00:00:00Z","2024-08-11T00:00:00Z","2024-08-12T00:00:00Z","2024-08-13T00:00:00Z","2024-08-14T00:00:00Z","2024-08-15T00:00:00Z","2024-08-16T00:00:00Z","2024-08-17T00:00:00Z","2024-08-18T00:00:00Z","2024-08-19T00:00:00Z","2024-08-20T00:00:00Z","2024-08-21T00:00:00Z","2024-08-22T00:00:00Z","2024-08-23T00:00:00Z","2024-08-24T00:00:00Z","2024-08-25T00:00:00Z","2024-08-26T00:00:00Z","2024-08-27T00:00:00Z","2024-08-28T00:00:00Z","2024-08-29T00:00:00Z","2024-08-30T00:00:00Z","2024-08-31T00:00:00Z","2024-09-01T00:00:00Z","2024-09-02T00:00:00Z","2024-09-03T00:00:00Z","2024-09-04T00:00:00Z","2024-09-05T00:00:00Z","2024-09-06T00:00:00Z","2024-09-07T00:00:00Z","2024-09-08T00:00:00Z","2024-09-09T00:00:00Z","2024-09-10T00:00:00Z","2024-09-11T00:00:00Z","2024-09-12T00:00:00Z","2024-09-13T00:00:00Z","2024-09-14T00:00:00Z","2024-09-15T00:00:00Z","2024-09-16T00:00:00Z","2024-09-17T00:00:00Z","2024-09-18T00:00:00Z","2024-09-19T00:00:00Z","2024-09-20T00:00:00Z","2024-09-21T00:00:00Z","2024-09-22T00:00:00Z","2024-09-23T00:00:00Z","2024-09-24T00:00:00Z","2024-09-25T00:00:00Z","2024-09-26T00:00:00Z","2024-09-27T00:00:00Z","2024-09-28T00:00:00Z","2024-09-29T00:00:00Z","2024-09-30T00:00:00Z","2024-10-01T00:00:00Z","2024-10-02T00:00:00Z","2024-10-03T00:00:00Z","2024-10-04T00:00:00Z","2024-10-05T00:00:00Z","2024-10-06T00:00:00Z","2024-10-07T00:00:00Z","2024-10-08T00:00:00Z","2024-10-09T00:00:00Z","2024-10-10T00:00:00Z"],"y":[98564836,105600775,110928685,98346382,91674525,83295230,76342667,70532553,80166615,83448500,86308070,78136934,76542415,74245499,69291809,78233186,82053622,80539375,71823503,74996915,63160960,72092919,81739177,79384275,77025805,78198789,81259412,78287956,76061916,75911861,74571059,77689961,75790318,82794662,78833989,79197959,79688015,75533904,74868575,68253529,69841647,77905308,82387272,102105350,142684670,105271806,77160015,84570479,89552842,82975788,83491057,82249725,76488018,82614961,83484182,81105607,79472526,78691210,88538618,82919651,81309854,89905743,83836333,80130572,80767091,80765419,68771410,65440389,76587386,85226956,93656917],"yaxis":""}],"layout":{"annotations":null,"legend":{"orientation":"h"},"title":{"font":{"size":10},"text":"Data: 12 Jul 2024 to 10 Oct 2024. Source: contact.cid prometheus metrics.","x":0.99,"xanchor":"right","y":0.01,"yanchor":"bottom"},"yaxis":{"autorange":true,"rangemode":"tozero","title":{"text":"Number of requests"}}},"params":null,"dynamicLayout":null,"config":null}

0 comments on commit aebf572

Please sign in to comment.