Content-Length: 18559 | pFad | https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikimediaEvents/+/master
commit | e883de6d76500bdddcea89066aacfff743f5375a | [log] [tgz] |
---|---|---|
author | Sam Smith <phuedx@wikimedia.org> | Thu May 09 16:04:10 2024 +0100 |
committer | Clare Ming <cming@wikimedia.org> | Fri Jan 10 10:14:33 2025 -0700 |
tree | 639db5b65868f9506788aebe5ef5ed08453cf364 | |
parent | 04dd31bcd0ec44cbf7f4c0fd0aca0fe6208a87b9 [diff] |
Add standard instruments Add a standard instrument for Click Through Rate (CTR). Currently, the instrument will submit standard events to a static event stream. Bug: T364548 Bug: T373435 Change-Id: Iec885a0336f477320c6f81a94e31ec9e1857b391
WikimediaEvents houses Wikimedia-specific instrumentation code utilizing EventLogging.
This extension was previously known as 'CoreEvents'; it was renamed so that its name properly reflects its scope, which is not specific to MediaWiki core.
Although the code in this extension was developed with Wikimedia use-cases in mind, you may find that the functionality it implements is useful. You are welcome to use and adapt this extension under the terms of its license.
The infrastructure that delivers the instruments is currently maintained by the Data Products team.
The owners of individual instruments is documented in OWNERS.md.
Indeed, when you create a new instrument, you are expected to document the ownership of your instrument. This expectation is enforced by the OwnersStructureTest PHPUnit test, which will fail if the files that make up the instrument aren't listed alongside contact details for you and/or your team and a description of it.
As of I63943fe97730953035a658f967a3d90cea9525a4, you can opt in to using TypeScript to type check your instrument during CI. To do so, add the relative path to your instrument file(s) to the "include"
section in tsconfig.json, e.g.
{ "include": [ "./path/to/your/instrument.js", "modules/index.d.ts" ] }
WikimediaEvents is distributed under the GNU General Public License, Version 2, or, at your discretion, any later version. The GNU General Public License is available via the Web at http://www.gnu.org/licenses/gpl-2.0.html.
Fetched URL: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikimediaEvents/+/master
Alternative Proxies: